Incorrect Synchronization Affecting chainmaker.org/chainmaker/net-libp2p/libp2pnet package, versions <1.2.7


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (14th percentile)

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 IDSNYK-GOLANG-CHAINMAKERORGCHAINMAKERNETLIBP2PLIBP2PNET-9835979
  • published28 Apr 2025
  • disclosed6 Apr 2025
  • creditzhen yan

Introduced: 6 Apr 2025

NewCVE-2024-58132  (opens in a new tab)
CWE-821  (opens in a new tab)

How to fix?

Upgrade chainmaker.org/chainmaker/net-libp2p/libp2pnet to version 1.2.7 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Synchronization in the checkCertId() function, when processing multiple concurrent updates to a node's configuration, which can cause a panic.

CVSS Base Scores

version 4.0
version 3.1