CVE-2022-24759 json
Failure to validate signature during handshake in @chainsafe/libp2p-noise
published 2022-03-17 4 y ago modified 2026-06-17 4 mo ago also GHSA-j3ff-xp6c-6gcc , EUVD-2022-1450
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
`@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.
Patch / fix
- npm @chainsafe/libp2p-noise 4.1.2, 5.0.3
- chainsafe js-libp2p-noise 4.1.2, 5.0.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @chainsafe/libp2p-noise | <4.1.2 >=5.0.0, <5.0.3 |
4.1.2 5.0.3 |
Affected products
- ChainSafe js-libp2p-noise
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
github.com
/ChainSafe/js-libp2p-noise/pull/130
web, patch, third-party-advisory
-
github.com
/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3
web, patch, third-party-advisory
-
github.com
/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24759
advisory
-
github.com
/ChainSafe
package
Sources
- CVE List CVE-2022-24759
- GitHub Advisory GHSA-j3ff-xp6c-6gcc
- NVD CVE-2022-24759
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.