Advisory

GHSA-3jgf-r68h-xfqm

Also known as: CVE-2024-34478, GO-2024-2818

Summary

btcd susceptible to consensus failures

Details

btcd before 0.24.0 does not correctly implement the consensus rules outlined in BIP 68 and BIP 112, making it susceptible to consensus failures. Specifically, it uses the transaction version as a signed integer when it is supposed to be treated as unsigned. There can be a chain split and loss of funds.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-05 03:30 UTC
Modified
2024-08-07 19:55 UTC

Affected packages and fixes

github.com/btcsuite/btcd

Go · All systems

Affected

  • introduced 0, fixed 0.24.0 (semver)

Fixed versions

0.24.0

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences