Advisory

GO-2023-1883

Also known as: CVE-2023-34451, GHSA-w24w-wp77-qffm

Summary

Denial of service via OOM in github.com/cometbft/cometbft

Details

A bug in the CometBFT middleware causes the mempool's two data structures to fall out of sync. This can lead to duplicate transactions that cannot be removed, even after they are committed in a block. The only way to remove the transaction is to restart the node. This can be exploited by an attacker to bring down a node by repeatedly submitting duplicate transactions.

Severity

Not rated by the source.

Dates

Published
2023-07-13 22:19 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/cometbft/cometbft

Go · All systems

Affected

  • introduced 0, fixed 0.37.2 (semver)

Fixed versions

0.37.2

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