CometBFT is unstability during blocksync when syncing from malicious peer
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
**Name**: ASA-2024-008: Instability during blocksync when syncing from malicious peer **Component**: CometBFT **Criticality**: Medium ([ACMv1](https://github.com/interchainio/security/blob/main/resources/CLASSIFICATION_MATRIX.md): 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 unknown_feature. If you believe you have found a bug in the Interchain Stack or would like to contribute to the program by reporting a bug, please see https://hackerone.com/cosmos. If you have questions about Interchain security efforts, please reach out to our official communication channel at [[email protected]](mailto:[email protected]). For more information about CometBFT, please see https://docs.cometbft.com/. For more information about the Interchain Foundation’s engagement with Amulet, please see https://github.com/interchainio/security.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/cometbft/cometbft (Go) | 0.37.0 to before 0.37.7 | 0.37.7 | Patch available | GHSA-hg58-rf2h-6rr7 |
| — | github.com/cometbft/cometbft (Go) | 0.38.0 to before 0.38.8 | 0.38.8 | Patch available | GHSA-hg58-rf2h-6rr7 |
- github.com/cometbft/cometbft (Go) Vendor— Affected 0.37.0 to before 0.37.7 Fixed in 0.37.7 Patch available GHSA-hg58-rf2h-6rr7
- github.com/cometbft/cometbft (Go) Vendor— Affected 0.38.0 to before 0.38.8 Fixed in 0.38.8 Patch available GHSA-hg58-rf2h-6rr7
Remediation
- Fix · GHSA-hg58-rf2h-6rr7 github.com/cometbft/cometbft (Go) Fixed in 0.37.7 Advisory →
- Fix · GHSA-hg58-rf2h-6rr7 github.com/cometbft/cometbft (Go) Fixed in 0.38.8 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-hg58-rf2h-6rr7
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences