GHSA-j3ff-xp6c-6gcc
Failure to validate signature during handshake
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @chainsafe/libp2p-noise | < 4.1.2 | 4.1.2 |
| npm | @chainsafe/libp2p-noise | >= 5.0.0, < 5.0.3 | 5.0.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
`@chainsafe/libp2p-noise` before 4.1.2 and 5.0.3 was not correctly validating signatures during the handshake process.
This may allow a man-in-the-middle to pose as other peers and get those peers banned.
### Patches
Users should upgrade to 4.1.2 or 5.0.3
### Workarounds
No workarounds, just patch upgrade
### References
https://github.com/ChainSafe/js-libp2p-noise/pull/130
References
External links from the advisory. They lead to third-party sites.