{"id":"GHSA-rch7-f4h5-x9rj","aliases":["GHSA-rch7-f4h5-x9rj"],"related":[],"kind":"vulnerability","state":"published","title":"Identity Spoofing in libp2p-secio","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2019-08-23T00:04:52.000Z","modified":"2021-08-17T21:32:42.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-290"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"npm","package":"libp2p-secio","purl":"pkg:npm/libp2p-secio","source":"ghsa"}],"references":[{"url":"https://github.com/libp2p/js-libp2p-secio/pull/95","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/npm:libp2p-secio:20180115","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/558","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rch7-f4h5-x9rj","url":"https://github.com/advisories/GHSA-rch7-f4h5-x9rj","licence":"CC-BY-4.0","modified":"2021-08-17T21:32:42.000Z"}],"updatedAt":"2026-11-25T22:56:46.448Z"}