Cryptographic Issues Affecting libp2p-core package, versions <0.31.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-LIBP2PCORE-2395826
  • published8 Feb 2022
  • disclosed7 Feb 2022
  • creditUnknown

Introduced: 7 Feb 2022

CVE NOT AVAILABLE CWE-310  (opens in a new tab)

How to fix?

Upgrade libp2p-core to version 0.31.1 or higher.

Overview

libp2p-core is a rust implementation of libp2p networking stack.

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.

CVSS Scores

version 3.1