Security mailing lists by PureSourceCode

GHSA-hg58-rf2h-6rr7

MEDIUM

CometBFT is unstability during blocksync when syncing from malicious peer

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 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 security@interchain.io.

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.

Published
28 Jun 2024
Last modified
5 Jul 2024
Weakness
CWE-610
Also known as
GO-2024-2951
Sources
OSVJSONOSV GO-2024-2951JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/cometbft/cometbft >= 0.37.0, < 0.37.7 0.37.7
OSV Go github.com/cometbft/cometbft >= 0.38.0, < 0.38.8 0.38.8
OSV Go github.com/cometbft/cometbft >= 0.37.0, < 0.37.7; >= 0.38.0, < 0.38.8 0.37.7, 0.38.8

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jul 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.