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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2022-03-17T16:40:11.000Z
- Modified: 2026-06-17T04:32:27.293Z
- Also known as: GHSA-j3ff-xp6c-6gcc
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- ChainSafe js-libp2p-noise: < 4.1.2; >= 5.0.0, < 5.0.3; before 4.1.2; from 5.0.0 before 5.0.3
- @chainsafe/libp2p-noise (npm): before 4.1.2; from 5.0.0 before 5.0.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:P`

## References

- <https://github.com/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc> (third-party-advisory, web)
- <https://github.com/ChainSafe/js-libp2p-noise/pull/130> (patch, third-party-advisory, web)
- <https://github.com/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24759> (advisory)
- <https://github.com/ChainSafe> (package)

## Sources

- CVE List: [CVE-2022-24759](https://www.cve.org/CVERecord?id=CVE-2022-24759), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-j3ff-xp6c-6gcc](https://github.com/advisories/GHSA-j3ff-xp6c-6gcc), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24759](https://nvd.nist.gov/vuln/detail/CVE-2022-24759), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24759 · Whole record: https://cve.day/CVE-2022-24759.json · Rebuilt by cve.day 2026-11-25T22:58:10.153Z
