Improper Check or Handling of Exceptional Conditions Affecting github.com/cometbft/cometbft/internal/blocksync package, versions <0.38.17>=1.0.0-alpha.1 <1.0.1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (19th 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-GITHUBCOMCOMETBFTCOMETBFTINTERNALBLOCKSYNC-8687932
  • published4 Feb 2025
  • disclosed3 Feb 2025
  • creditunknownfeature

Introduced: 3 Feb 2025

CVE-2025-24371  (opens in a new tab)
CWE-703  (opens in a new tab)

How to fix?

Upgrade github.com/cometbft/cometbft/internal/blocksync to version 0.38.17, 1.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check or Handling of Exceptional Conditions through the blocksync protocol, an attacker can disrupt the synchronization process by sending inconsistent base and latest height values. This causes the node to continuously attempt syncing to a non-existent block height, leading to an indefinite synchronization loop.

CVSS Base Scores

version 4.0
version 3.1