Skip to content

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

HighCVSS 7.4 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
chainsafe @chainsafe/libp2p-noise(npm) < 4.1.2; >= 5.0.0, < 5.0.3 4.1.2, 5.0.3 Fixed
chainsafe js-libp2p-noise < 4.1.2; = < 4.1.2; = >= 5.0.0, < 5.0.3; >= 5.0.0, < 5.0.3 4.1.2, 5.0.3 Fixed

Affected products

ProductAffected versionsFixed in
chainsafe @chainsafe/libp2p-noise(npm) < 4.1.2 4.1.2
chainsafe @chainsafe/libp2p-noise(npm) >= 5.0.0, < 5.0.3 5.0.3
chainsafe js-libp2p-noise = < 4.1.2 No fix listed
chainsafe js-libp2p-noise = >= 5.0.0, < 5.0.3 No fix listed
chainsafe js-libp2p-noise < 4.1.2 4.1.2
chainsafe js-libp2p-noise >= 5.0.0, < 5.0.3 5.0.3

References