CVE-2022-24759 Details
Description
`@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.
A vulnerability exists in the TypeScript implementation of the noise protocol within the @chainsafe/libp2p-noise package, specifically in versions prior to 4.1.2 and 5.0.3. The issue arises from improper signature validation during the handshake process, potentially allowing a man-in-the-middle to impersonate other peers and have them banned.
Users are advised to upgrade to version 4.1.2 or 5.0.3, both of which include the necessary patch. Instructions for downloading these versions are available on the GitHub Releases page for the @chainsafe/libp2p-noise package.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ChainSafe/js-libp2p-noise/pull/130 | CVE | PatchThird Party Advisory |
| https://github.com/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3 | CVE | PatchThird Party Advisory |
| https://github.com/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc | CVE | Third Party Advisory |
| https://github.com/ChainSafe/js-libp2p-noise/pull/130 | [email protected] | PatchThird Party Advisory |
| https://github.com/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3 | [email protected] | PatchThird Party Advisory |
| https://github.com/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| chainsafe js-libp2p-noise | < 4.1.2 >= 5.0.0, < 5.0.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 23, 2022 | Initial Analysis | [email protected] |