{"id":"GHSA-rch7-f4h5-x9rj","summary":"Identity Spoofing in libp2p-secio","details":"Affected versions of `libp2p-secio` does not correctly verify that the `PeerId` of `DstPeer` matches the `PeerId` discovered in the crypto handshake, resulting in a high severity identity spoofing vulnerability. \n\n\n## Recommendation\n\nUpdate to version 0.9.0 or later.","modified":"2021-08-17T21:32:42Z","published":"2019-08-23T00:04:52Z","database_specific":{"github_reviewed_at":"2019-08-22T14:56:33Z","nvd_published_at":null,"cwe_ids":["CWE-290"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/libp2p/js-libp2p-secio/pull/95"},{"type":"WEB","url":"https://snyk.io/vuln/npm:libp2p-secio:20180115"},{"type":"WEB","url":"https://www.npmjs.com/advisories/558"}],"affected":[{"package":{"name":"libp2p-secio","ecosystem":"npm","purl":"pkg:npm/libp2p-secio"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/08/GHSA-rch7-f4h5-x9rj/GHSA-rch7-f4h5-x9rj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}