- Reported
-
- Issued
-
- Package
-
libp2p-core
(crates.io)
- Type
-
Vulnerability
- Categories
-
- Aliases
-
- Patched
-
- Unaffected
-
- Affected Functions
- Version
libp2p_core::PeerRecord::from_signed_envelope
-
Description
Affected versions of this crate did not check that the public key the signature was created with matches the peer ID of the peer record.
Any combination was considered valid.
This allows an attacker to republish an existing PeerRecord
with a different PeerId
.
Advisory available under CC0-1.0
license.