Failure to validate signature during handshake in @chainsafe/libp2p-noise
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-347.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ChainSafe | js-libp2p-noise | before 4.1.2; 5.0.0 to before 5.0.3 | 4.1.2, 5.0.3 | Patch available | CNA |
| — | @chainsafe/libp2p-noise (npm) | before 4.1.2 | 4.1.2 | Patch available | GHSA-j3ff-xp6c-6gcc |
| — | @chainsafe/libp2p-noise (npm) | 5.0.0 to before 5.0.3 | 5.0.3 | Patch available | GHSA-j3ff-xp6c-6gcc |
- js-libp2p-noise VendorChainSafe Affected before 4.1.2; 5.0.0 to before 5.0.3 Fixed in 4.1.2, 5.0.3 Patch available CNA
- @chainsafe/libp2p-noise (npm) Vendor— Affected before 4.1.2 Fixed in 4.1.2 Patch available GHSA-j3ff-xp6c-6gcc
- @chainsafe/libp2p-noise (npm) Vendor— Affected 5.0.0 to before 5.0.3 Fixed in 5.0.3 Patch available GHSA-j3ff-xp6c-6gcc
Remediation
- Fix · CNA js-libp2p-noise (ChainSafe) Fixed in 4.1.2, 5.0.3
- Fix · GHSA-j3ff-xp6c-6gcc @chainsafe/libp2p-noise (npm) Fixed in 4.1.2 Advisory →
- Fix · GHSA-j3ff-xp6c-6gcc @chainsafe/libp2p-noise (npm) Fixed in 5.0.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24759
- 2026-10-03 Alias added: GHSA-j3ff-xp6c-6gcc
References
Patch 2
Advisory 2
Other 1
Sources
- CVE-2022-24759 · CVE Program
- CVE-2022-24759 · NVD
- FIRST EPSS
- GHSA-j3ff-xp6c-6gcc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences