Insecure Defaults Affecting libp2p-core package, versions <0.31.1


0.0
medium

Snyk CVSS

    Attack Complexity Low

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-LIBP2PCORE-2395476
  • published 7 Feb 2022
  • disclosed 7 Feb 2022
  • credit Unknown

Introduced: 7 Feb 2022

CVE NOT AVAILABLE CWE-453 Open this link 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 Insecure Defaults due to missing checks 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.

References