Affected versions
Version ranges need review.
Rust / Cargolibp2p-core
- Affected versions
- >= 0.30.0-rc.1, < 0.30.2
- Fixed version
- 0.30.2
Rust / Cargolibp2p-core
- Affected versions
- >=0.30.0-rc.1 <0.30.2 || >=0.31.0-0 <0.31.1
- Fixed version
- 0.30.2 · 0.31.1
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.

