Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @chainsafe/libp2p-noise
  4. ›
  5. CVE-2022-24759

CVE-2022-24759: Improper Verification of Cryptographic Signature

March 18, 2022 (updated March 21, 2022)

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

References

  • github.com/ChainSafe/js-libp2p-noise/pull/130
  • github.com/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3
  • github.com/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc
  • github.com/advisories/GHSA-j3ff-xp6c-6gcc
  • nvd.nist.gov/vuln/detail/CVE-2022-24759

Code Behaviors & Features

Detect and mitigate CVE-2022-24759 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.2, all versions starting from 5.0.0 before 5.0.3

Fixed versions

  • 4.1.2
  • 5.0.3

Solution

Upgrade to versions 4.1.2, 5.0.3 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

npm/@chainsafe/libp2p-noise/CVE-2022-24759.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.