LowGO-2024-2471GHSA-qr8r-m495-7hc4

Chain halt panic in github.com/cometbft/cometbft

Published 23 Jan 2024 · Updated 20 May 2024

Is your project on an affected github.com/cometbft/cometbft?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=0.38.0 <0.38.3
Fixed in
0.38.3
Update to the fixed version for your release line, for example:go get github.com/cometbft/cometbft@v0.38.3

Details

A vulnerability in CometBFT’s validation logic for VoteExtensionsEnableHeight can result in a chain halt when triggered through a governance parameter change proposal on an ABCI2 Application Chain. If a parameter change proposal including a VoteExtensionsEnableHeight modification is passed, nodes running the affected versions may panic, halting the network.

Is GO-2024-2471 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/cometbft/cometbft, and gives you the command that fixes it.

More advisories for github.com/cometbft/cometbft

  • LowGO-2026-4361Inconsistencies between how commit signatures are verified and how block time is derived in github.com/cometbft/cometbft · 19 Feb 2026
  • HighGHSA-c32p-wcqj-j677CometBFT has inconsistencies between how commit signatures are verified and how block time is derived · 23 Jan 2026
  • LowGO-2025-4025CometBFT's invalid BitArray handling can lead to network halt in github.com/cometbft/cometbft · 18 Nov 2025
  • HighGHSA-hrhf-2vcr-ghchCometBFT's invalid BitArray handling can lead to network halt · 14 Oct 2025
  • LowCVE-2025-24371CometBFT allows a malicious peer to make node stuck in blocksync in github.com/cometbft/cometbft · 4 Feb 2025
  • LowGO-2025-3443CometBFT allows a malicious peer to stall network by disseminating valid-looking block parts in github.com/cometbft/cometbft · 4 Feb 2025
All 21 advisories for github.com/cometbft/cometbft

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.