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.
## Recommendation
Update to version 0.9.0 or later.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | libp2p-secio | < 0.9.0 | 0.9.0 | GHSA-rch7-f4h5-x9rj |