Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

CVE-2022-24759 — @chainsafe/libp2p-noise

HIGHFix: ChainSafe/js-libp2p-noise#130

CVE-2022-24759 is a high-severity (CVSS 8.1) CWE-347 vulnerability in @chainsafe/libp2p-noise. A fix is available for @chainsafe/libp2p-noise — see the affected versions and patch details below.

Failure to validate signature during handshake in @chainsafe/libp2p-noise

Also known asGHSA-j3ff-xp6c-6gcc
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Sep 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-24759.

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs40th percentile — riskier than 40% of all scored CVEsHighest risk
0.00%0.33%0.67%1.00%0.5%0.5%0.5%Jul 26Sep 26Sep 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2022-24759 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

2 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

245other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
@chainsafe/libp2p-noisenpm
64Kdownloads / week

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.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
📦npm@chainsafe/libp2p-noiseall versions4.1.2npm install @chainsafe/libp2p-noise@4.1.2
📦npm@chainsafe/libp2p-noise≥ 5.0.0&&< 5.0.35.0.3npm install @chainsafe/libp2p-noise@5.0.3

Affected Products

1 product · 2 configurations
Application
js-libp2p-noisechainsafe
≥ 5.0.0 && < 5.0.3
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @chainsafe/libp2p-noise, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update @chainsafe/libp2p-noise to 4.1.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-24759 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

`@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.
O3 Security · Impact-Aware SCA

Is CVE-2022-24759 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2022-24759: @chainsafe/libp2p-noise — Fixed in 4.1.2