RUSTSEC-2022-0009

    Dashboard / Vulnerabilities / RUSTSEC-2022-0009

    RUSTSEC-2022-0009

    Published: 7 Feb 2022Last Modified: 8 Nov 2023

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

    Details: 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 packages

    Package

    Name: libp2p-core

    Purl: pkg:cargo/libp2p-core

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.30.0-rc.1
    Fixed -0.30.2

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2022-0009 | CVE-DB