GHSA-wc36-xgcc-jwpr
high
Failure to verify the public key of a `SignedEnvelope` against the `PeerId` in a `PeerRecord`
- Severity
- high rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2022-0009
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libp2p-core (crates.io) | from 0.30.0-rc.1 before 0.30.2, from 0.31.0-0 before 0.31.1 | GitHub Advisory Database, RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-wc36-xgcc-jwpr changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2022-0009 changed 2023-11-08 | CC0-1.0 |