CVE-2022-24759

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
Product@chainsafe/libp2p-noise
PublishedMar 17, 2022
First seenMar 17, 2022
Weakness typeCWE-347CWE-347

How to fix

Update
  • @chainsafe/libp2p-noise4.1.2, 5.0.3 or later
  • chainsafe js-libp2p-noise4.1.2, 5.0.3 or later

Affected products

ProductAffected versionsFixed in
@chainsafe/libp2p-noisenpmv < 4.1.2, 5.0.0 ≤ v < 5.0.34.1.2, 5.0.3
chainsafe js-libp2p-noisev < 4.1.2, 5.0.0 ≤ v < 5.0.34.1.2, 5.0.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.