CVE-2022-24759
HIGH 7.4CVSS 3.1Failure to validate signature during handshake
@chainsafe/libp2p-noise contains TypeScript implementation of noise protocol, an encryption protocol used in libp2p. @chainsafe/libp2p-noise before 4.1.2 and 5.0.3 does not correctly validate 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 version 4.1.2 or 5.0.3 to receive a patch. There are currently no known workarounds.
- Published
- 17 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-j3ff-xp6c-6gcc
- Sources
- NVDJSONOSV GHSA-j3ff-xp6c-6gccJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chainsafe | js-libp2p-noisecpe:2.3:a:chainsafe:js-libp2p-noise:*:*:*:*:*:node.js:*:* |
< 4.1.2 | 4.1.2 |
| NVD | chainsafe | js-libp2p-noisecpe:2.3:a:chainsafe:js-libp2p-noise:*:*:*:*:*:node.js:*:* |
>= 5.0.0, < 5.0.3 | 5.0.3 |
| OSV | npm | @chainsafe/libp2p-noise | < 4.1.2 | 4.1.2 |
| OSV | npm | @chainsafe/libp2p-noise | >= 5.0.0, < 5.0.3 | 5.0.3 |
References
- https://github.com/ChainSafe/js-libp2p-noise/pull/130 · Patch, Third Party Advisory, WEB
- https://github.com/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3 · Patch, Third Party Advisory, WEB
- https://github.com/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24759 · ADVISORY
- https://github.com/ChainSafe · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Mar 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Mar 2022)