Advisory

GO-2024-2951

Also known as: GHSA-hg58-rf2h-6rr7

Summary

Denial of service when syncing with a malicious peer in github.com/cometbft/cometbft

Details

A malicious peer can cause a syncing node to panic during blocksync. The syncing node may enter into a catastrophic invalid syncing state or get stuck in blocksync mode, never switching to consensus. 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.

Severity

Not rated by the source.

Dates

Published
2024-07-02 17:39 UTC
Modified
2024-07-02 18:12 UTC

Affected packages and fixes

github.com/cometbft/cometbft

Go · All systems

Affected

  • introduced 0.37.0, fixed 0.37.7, introduced 0.38.0, fixed 0.38.8 (semver)

Fixed versions

0.37.7, 0.38.8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences