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.
Remediation
References
https://github.com/ChainSafe/js-libp2p-noise/pull/130
https://github.com/ChainSafe/js-libp2p-noise/releases/tag/v5.0.3
https://github.com/ChainSafe/js-libp2p-noise/security/advisories/GHSA-j3ff-xp6c-6gcc
Related Vulnerabilities
CVE-2020-26939 Vulnerability in maven package org.bouncycastle:bcprov-ext-jdk14
CVE-2022-2564 Vulnerability in maven package org.webjars.npm:mongoose
CVE-2023-36479 Vulnerability in maven package org.eclipse.jetty:jetty-servlets
CVE-2018-25050 Vulnerability in npm package chosen-js
CVE-2021-36374 Vulnerability in maven package org.apache.ant:ant