GHSA-wc36-xgcc-jwpr
JSON

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 packageVersionsReported by
libp2p-core (crates.io)from 0.30.0-rc.1 before 0.30.2, from 0.31.0-0 before 0.31.1GitHub Advisory Database, RustSec Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-wc36-xgcc-jwpr changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2022-0009 changed 2023-11-08CC0-1.0