Skip to main content
← All vulnerabilities
CVE-2022-24759GHSA-J3FF-XP6C-6GCC

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.2, 5.0.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ChainSafe js-libp2p-noise

    fixed in 4.1.2; From 5.0.0 · fixed in 5.0.3

  • @chainsafe/libp2p-noisenpm

    fixed in 4.1.2

  • @chainsafe/libp2p-noisenpm

    From 5.0.0 · fixed in 5.0.3

References 3

GitHub · ChainSafe/js-libp2p-noise