Security mailing lists by PureSourceCode

GHSA-wc36-xgcc-jwpr

HIGH

Failure to verify the public key of a `SignedEnvelope` against the `PeerId` in a `PeerRecord`

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.

Published
7 Feb 2022
Last modified
8 Nov 2023
Also known as
RUSTSEC-2022-0009
Sources
OSVJSONOSV RUSTSEC-2022-0009JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io libp2p-core >= 0.30.0-rc.1, < 0.30.2 0.30.2
OSV crates.io libp2p-core >= 0.30.0-rc.1, < 0.30.2; >= 0.31.0-0, < 0.31.1 0.30.2, 0.31.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Feb 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.