libp2p is a JavaScript implementation of the libp2p networking stack. From 8.0.0 until 12.0.24, @libp2p/peer-store in packages/peer-store/src/index.ts uses consumePeerRecord to verify a RecordEnvelop…
High CVSS 8.2
Summary
libp2p is a JavaScript implementation of the libp2p networking stack. From 8.0.0 until 12.0.24, @libp2p/peer-store in packages/peer-store/src/index.ts uses consumePeerRecord to verify a RecordEnvelope signature but does not require PeerRecord.peerId in the signed payload to equal the signer peer ID derived by RecordEnvelope.openAndCertify. The expectedPeer option checks only the envelope signer, and the gossipsub Peer Exchange path can provide the attacker's own peer ID as expectedPeer. An atta…
In-depth triage
No in-depth report has been generated yet (DR-003 v2 AI pipeline is under construction).
Sources
- NVD DATABASE
Original Links
- https://github.com/libp2p/js-libp2p/commit/3bf5d395cbca1488eea6e87cd771e4613b661c30
- https://github.com/libp2p/js-libp2p/pull/3570
- https://github.com/libp2p/js-libp2p/releases/tag/peer-store-v12.0.24
- https://github.com/libp2p/js-libp2p/security/advisories/GHSA-vrf4-mx87-p53w
- https://github.com/libp2p/js-libp2p/security/advisories/GHSA-vrf4-mx87-p53w
Timeline
- nvd_ingest NVD