Live threats

All CVEs / Chainsafe

CVE-2022-24759Chainsafe Js-libp2p-noise

High 7.4 No auth needed

Priority
59
CVSS 3.1
7.4
EPSS
0.5%
probability of exploitation in 30 days · percentile 36
Auth required
No
Published
Mar 17, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

What happens

`@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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Js-libp2p-noise.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @chainsafe/libp2p-noise < 4.1.2 4.1.2 npm install @chainsafe/libp2p-noise@4.1.2
npm @chainsafe/libp2p-noise ≥ 5.0.0 < 5.0.3 5.0.3 npm install @chainsafe/libp2p-noise@5.0.3

Per OSV / GitHub Advisories (GHSA-j3ff-xp6c-6gcc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
chainsafejs-libp2p-noise< 4.1.2
chainsafejs-libp2p-noise≥ 5.0.0 < 5.0.3

Official sources

References

Links published by the sources. Open them with care.