Skip to content

btcd susceptible to consensus failures

Moderate severity GitHub Reviewed Published May 5, 2024 to the GitHub Advisory Database • Updated May 8, 2024

Package

gomod github.com/btcsuite/btcd (Go)

Affected versions

< 0.24.0

Patched versions

0.24.0

Description

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.

References

Published by the National Vulnerability Database May 5, 2024
Published to the GitHub Advisory Database May 5, 2024
Reviewed May 6, 2024
Last updated May 8, 2024

Severity

Moderate

Weaknesses

No CWEs

CVE ID

CVE-2024-34478

GHSA ID

GHSA-3jgf-r68h-xfqm

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.