{"id":"CVE-2022-24759","published":"2022-03-17T16:40:11Z","modified":"2025-04-23T18:46:39Z","title":"Failure to validate signature during handshake in @chainsafe/libp2p-noise","vendor":"ChainSafe","product":"js-libp2p-noise","tier":"tail","description":{"text":"`@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00499,"percentile":0.43674,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ChainSafe/js-libp2p-noise/pull/130","tags":["x_refsource_MISC"]},{"url":"https://github.com/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":8.73},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"chainsafe","affectedVersions":[{"vendor":"ChainSafe","product":"js-libp2p-noise","versions":["< 4.1.2",">= 5.0.0, < 5.0.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:08:49.865065Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@chainsafe/libp2p-noise","vulnerableRanges":["<4.1.2",">=5.0.0, <5.0.3"],"patched":["4.1.2","5.0.3"],"from":["GHSA-j3ff-xp6c-6gcc"],"provenance":"source"}],"summary":{"text":"The flaw is an improper verification of cryptographic signatures during the handshake in the js-libp2p-noise component of ChainSafe's @chainsafe/libp2p-noise package, a TypeScript implementation of the Noise encryption protocol used in libp2p. An attacker with network access, positioned as a man-in-the-middle and holding low-privilege peer access, can pose as other peers and get those peers banned, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:52Z"},"euvd":{"id":"EUVD-2022-1450","exploited":false,"provenance":"source"}}