Skip to content

RUSTSEC-2022-0009: Failure to verify the public key of a SignedEnvelope against the PeerId in a PeerRecord #132

Description

@standardtech-bot

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

Details
Package libp2p-core
Version 0.30.2
Date 2022-02-07
Patched versions >=0.31.1
Unaffected versions <0.30.0-rc.1

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.

See advisory page for additional details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions