CometBFT is unstability during blocksync when syncing from malicious peer
What to do
Vendor fix available. Upgrade each affected package to the fixed version on its release line (github.com/cometbft/cometbft 0.38.8, 0.37.7), redeploy, then verify what is actually installed.
This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.
Affected packages
Go github.com/cometbft/cometbft
- Affected
- >= 0.37.0, < 0.37.7>= 0.38.0, < 0.38.8
- Fixed in
- 0.38.8, 0.37.7
Sources
- GitHub Advisory Database and maintainer security advisories on GitHub
GitHub-reviewed advisory GHSA-hg58-rf2h-6rr7 lists affected ranges: Go github.com/cometbft/cometbft >=0.37.0 =0.38.0 <0.38.8
VerifiedObserved Structured GitHub Advisory Database record (type=reviewed) from the GitHub REST API.
Severity and exploitation
- Exploitation
- No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
- CVSS
- not scored
- EPSS
- No dated EPSS signal available.
Source description
As published by the source; long descriptions are shortened.
Name: ASA-2024-008: Instability during blocksync when syncing from malicious peer Component: CometBFT Criticality: Medium (ACMv1: I:Moderate; L: Possible) Affected versions: < v0.38.7 Summary An issue was identified for nodes syncing on an existing network during blocksync in which a malicious peer could cause the syncing peer to panic, enter into a catastrophic invalid syncing state or get stuck in blocksync mode, never switching to consensus. It is recommended for all clients to adopt this patch so that blocksync functions as expected and is tolerant of malicious peers presenting invalid data in this situation. Nodes that are vulnerable to this state may experience a Denial of Service condition in which syncing will not work as expected when joining a network as a client. Recognition This issue was reported to the Cosmos Bug Bounty Program on HackerOne on 5/01/24 by unknownfeature. If you believe you have found a bug in the Interchain Stack or would like to contribute to the…
Dates and revisions
- Published by the source
- Last modified by the source
- Source last checked
- Revision 1 · created ·
Published from ghsa record GHSA-hg58-rf2h-6rr7
Agent brief
Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.
# Patch Next advisory brief: GHSA-hg58-rf2h-6rr7 Advisory: CometBFT is unstability during blocksync when syncing from malicious peer IDs: GHSA-hg58-rf2h-6rr7 Record: https://patchnext.com/advisories/ghsa-hg58-rf2h-6rr7 (revision 1, source checked 26 Oct 2026, 15:04 UTC) Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected. Severity: Unrated Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV. Vendor response: Vendor fix available; fixed versions by package: github.com/cometbft/cometbft 0.38.8, 0.37.7. A vendor fix does not mean a deployment is fixed. ## Affected components - Go github.com/cometbft/cometbft: affected >= 0.37.0, < 0.37.7; >= 0.38.0, < 0.38.8; fixed in 0.38.8, 0.37.7 ## Suggested inspection (read-only) - Go github.com/cometbft/cometbft: check the installed version with your package manager. ## Supported action Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version. ## Required regression checks - Run the test suite and a production build. - Exercise the features that depend on github.com/cometbft/cometbft. - Repeat the inspection and confirm that only fixed versions remain installed. ## Rollback considerations - Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward. ## Unresolved questions - Which deployments run an affected version? - Exploitation status can change. Check again before lowering the priority. - Mark the work resolved only after the fixed version is verified in production. ## Sources - Verified: https://github.com/advisories/GHSA-hg58-rf2h-6rr7 (GitHub-reviewed advisory GHSA-hg58-rf2h-6rr7 lists affected ranges: Go github.com/cometbft/cometbft >=0.37.0 =0.38.0 <0.38.8) Commands are suggestions: review each one before running it.
Loading voting…