Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1oZzU4LXJmMmgtNnJyN84AA9aS

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 [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.

Permalink: https://github.com/advisories/GHSA-hg58-rf2h-6rr7
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oZzU4LXJmMmgtNnJyN84AA9aS
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 16 days ago
Updated: 9 days ago


Identifiers: GHSA-hg58-rf2h-6rr7
References: Repository: https://github.com/cometbft/cometbft
Blast Radius: 0.0

Affected Packages

go:github.com/cometbft/cometbft
Dependent packages: 1,504
Dependent repositories: 122
Downloads:
Affected Version Ranges: >= 0.38.0, < 0.38.8, >= 0.37.0, < 0.37.7
Fixed in: 0.38.8, 0.37.7
All affected versions: 0.37.0, 0.37.1, 0.37.2, 0.37.3, 0.37.4, 0.38.0, 0.38.1, 0.38.2, 0.38.3, 0.38.4, 0.38.5
All unaffected versions: 0.34.27, 0.34.28, 0.34.29, 0.34.30, 0.34.31