Security mailing lists by PureSourceCode

CVE-2022-24759

HIGH 7.4CVSS 3.1

Failure to validate signature during handshake

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

Published
17 Mar 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-347
Also known as
GHSA-j3ff-xp6c-6gcc
Sources
NVDJSONOSV GHSA-j3ff-xp6c-6gccJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:N/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD chainsafe js-libp2p-noise
cpe:2.3:a:chainsafe:js-libp2p-noise:*:*:*:*:*:node.js:*:*
< 4.1.2 4.1.2
NVD chainsafe js-libp2p-noise
cpe:2.3:a:chainsafe:js-libp2p-noise:*:*:*:*:*:node.js:*:*
>= 5.0.0, < 5.0.3 5.0.3
OSV npm @chainsafe/libp2p-noise < 4.1.2 4.1.2
OSV npm @chainsafe/libp2p-noise >= 5.0.0, < 5.0.3 5.0.3

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Mar 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.