logo

GHSA-wc36-xgcc-jwpr libp2p-core

Package

Manager: cargo
Name: libp2p-core
Vulnerable Version: >=0.30.0-rc.1 <0.30.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

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`.

Metadata

Created: 2022-06-17T00:01:02Z
Modified: 2022-06-17T00:01:02Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-wc36-xgcc-jwpr/GHSA-wc36-xgcc-jwpr.json
CWE IDs: []
Alternative ID: N/A
Finding: F163
Auto approve: 1