Cryptographic Issues Affecting libp2p package, versions <0.42.0


0.0
medium

Snyk CVSS

    Attack Complexity High
    Integrity High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-LIBP2P-2395827
  • published 8 Feb 2022
  • disclosed 7 Feb 2022
  • credit Unknown

Introduced: 7 Feb 2022

CVE NOT AVAILABLE CWE-310 Open this link in a new tab

How to fix?

Upgrade libp2p to version 0.42.0 or higher.

Overview

Affected versions of this package are vulnerable to Cryptographic Issues the package does not verify that the public key of the signature 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.