@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.
Users should upgrade to 4.1.2 or 5.0.3
No workarounds, just patch upgrade
https://github.com/ChainSafe/js-libp2p-noise/pull/130
| Score | Percentile |
|---|---|
| 0.12% | 30.49% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 8.1 | 3.1 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-j3ff-xp6c-6gcc ↗ |
| CVE | CVE-2022-24759 ↗ |
| CWE id | Name |
|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| npm | @chainsafe/libp2p-noise | < 4.1.2 | 4.1.2 | — |
| npm | @chainsafe/libp2p-noise | >= 5.0.0, < 5.0.3 | 5.0.3 | — |