Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cometbft/cometbft
  4. ›
  5. CVE-2025-24371

CVE-2025-24371: CometBFT allows a malicious peer to make node stuck in blocksync

February 3, 2025 (updated February 5, 2025)

Name: ASA-2025-001: Malicious peer can disrupt node’s ability to sync via blocksync Component: CometBFT Criticality: Medium (Considerable Impact; Possible Likelihood per ACMv1.2) Affected versions: <= v0.38.16, v1.0.0 Affected users: Validators, Full nodes

References

  • github.com/advisories/GHSA-22qq-3xwm-r5x4
  • github.com/cometbft/cometbft
  • github.com/cometbft/cometbft/commit/0ee80cd609c7ae9fe856bdd1c6d38553fdae90ce
  • github.com/cometbft/cometbft/commit/2cebfde06ae5073c0b296a9d2ca6ab4b95397ea5
  • github.com/cometbft/cometbft/releases/tag/v0.38.17
  • github.com/cometbft/cometbft/releases/tag/v1.0.1
  • github.com/cometbft/cometbft/security/advisories/GHSA-22qq-3xwm-r5x4
  • nvd.nist.gov/vuln/detail/CVE-2025-24371
  • pkg.go.dev/vuln/GO-2025-3442

Code Behaviors & Features

Detect and mitigate CVE-2025-24371 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.38.17, all versions starting from 1.0.0-alpha.1 before 1.0.1

Fixed versions

  • 1.0.1
  • 0.38.17

Solution

Upgrade to versions 0.38.17, 1.0.1 or above.

Weakness

  • CWE-703: Improper Check or Handling of Exceptional Conditions

Source file

go/github.com/cometbft/cometbft/CVE-2025-24371.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.