{"id":"GHSA-rch7-f4h5-x9rj","aliases":[],"status":"published","title":"Identity Spoofing in libp2p-secio","description":"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.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-290"],"published":"2019-08-23T00:04:52Z","modified":"2023-01-09T05:02:03Z","fixes":[{"ecosystem":"npm","package":"libp2p-secio","fixed_in":["0.9.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"libp2p-secio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}]},{"source":"osv","ecosystem":"npm","package":"libp2p-secio","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}]}],"references":[{"url":"https://github.com/libp2p/js-libp2p-secio/pull/95","tags":["web"]},{"url":"https://www.npmjs.com/advisories/558","tags":["web"]},{"url":"https://snyk.io/vuln/npm:libp2p-secio:20180115","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rch7-f4h5-x9rj"}],"sources":{"ghsa":[{"id":"GHSA-rch7-f4h5-x9rj","title":"Identity Spoofing in libp2p-secio","description":"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.","status":"published","published":"2019-08-23T00:04:52Z","modified":"2023-01-09T05:02:03Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-290"],"updated_at":"2026-11-02T14:36:02.073372Z"}],"osv":[{"id":"GHSA-rch7-f4h5-x9rj","title":"Identity Spoofing in libp2p-secio","description":"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.","status":"published","published":"2019-08-23T00:04:52Z","modified":"2021-08-17T21:32:42Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-290"],"updated_at":"2026-11-02T15:46:55.877614Z"}]}}
