Race Condition Affecting chainmaker.org/chainmaker/logger/v2 package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.28% (21st 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-CHAINMAKERORGCHAINMAKERLOGGERV2-9833970
  • published28 Apr 2025
  • disclosed6 Apr 2025
  • creditzhen yan

Introduced: 6 Apr 2025

CVE-2024-58133  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

There is no fixed version for chainmaker.org/chainmaker/logger/v2.

Overview

Affected versions of this package are vulnerable to Race Condition due to concurrent writes to a map by logger.go. An attacker can induce a read-write conflict and cause repeated restarts and then a panic by writing to multiple logs simultaneously.

CVSS Base Scores

version 4.0
version 3.1