{"id":"GHSA-j3ff-xp6c-6gcc","summary":"Failure to validate signature during handshake","details":"### Impact\n`@chainsafe/libp2p-noise` before 4.1.2 and 5.0.3 was not correctly validating signatures during the handshake process.\nThis may allow a man-in-the-middle to pose as other peers and get those peers banned.\n\n### Patches\nUsers should upgrade to 4.1.2 or 5.0.3\n\n### Workarounds\nNo workarounds, just patch upgrade\n\n### References\nhttps://github.com/ChainSafe/js-libp2p-noise/pull/130\n","aliases":["CVE-2022-24759"],"modified":"2023-11-08T04:08:35.429768Z","published":"2022-03-18T18:57:53Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-03-18T18:57:53Z","nvd_published_at":"2022-03-17T17:15:00Z","cwe_ids":["CWE-347"]},"references":[{"type":"WEB","url":"https://github.com/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24759"},{"type":"WEB","url":"https://github.com/ChainSafe/js-libp2p-noise/pull/130"},{"type":"PACKAGE","url":"https://github.com/ChainSafe"},{"type":"WEB","url":"https://github.com/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3"}],"affected":[{"package":{"name":"@chainsafe/libp2p-noise","ecosystem":"npm","purl":"pkg:npm/%40chainsafe/libp2p-noise"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.1.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-j3ff-xp6c-6gcc/GHSA-j3ff-xp6c-6gcc.json"}},{"package":{"name":"@chainsafe/libp2p-noise","ecosystem":"npm","purl":"pkg:npm/%40chainsafe/libp2p-noise"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.0.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-j3ff-xp6c-6gcc/GHSA-j3ff-xp6c-6gcc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}