GitHub Advisory Database
GHSA-j3ff-xp6c-6gcc
Failure to validate signature during handshake
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @chainsafe/libp2p-noise | All versions before 4.1.2 (fixed in 4.1.2) |
| npm | @chainsafe/libp2p-noise | From 5.0.0 before 5.0.3 (fixed in 5.0.3) |