Advisory

GO-2024-2818

Also known as: CVE-2024-34478, GHSA-3jgf-r68h-xfqm

Summary

Consensus failures in github.com/btcsuite/btcd

Details

Incorrect implementation of the consensus rules outlined in BIP 68 and BIP 112 making btcd 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

Not rated by the source.

Dates

Published
2024-05-08 17:51 UTC
Modified
2024-05-20 16:03 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: Go Vulnerability Database · CC BY 4.0

Sources & licences