Advisory

GO-2024-3189

Also known as: CVE-2024-38365, GHSA-27vh-h6mc-q6g8

Summary

Consensus failure in github.com/btcsuite/btcd

Details

The btcd Bitcoin client (versions 0.10 to 0.24) did not correctly re-implement Bitcoin Core's 'FindAndDelete()' functionality, causing discrepancies in the validation of Bitcoin blocks. This can lead to a chain split (accepting an invalid block) or Denial of Service (DoS) attacks (rejecting a valid block). An attacker can trigger this vulnerability by constructing a 'standard' Bitcoin transaction that exhibits different behaviors in 'FindAndDelete()' and 'removeOpcodeByData()'.

Severity

Not rated by the source.

Dates

Published
2024-10-15 18:38 UTC
Modified
2024-10-17 14:56 UTC

Affected packages and fixes

github.com/btcsuite/btcd

Go · All systems

Affected

  • introduced 0, fixed 0.24.2-beta.rc1 (semver)

Fixed versions

0.24.2-beta.rc1

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