CVE-2024-34478
JSON

7.5high

btcd susceptible to consensus failures

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.56% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-3jgf-r68h-xfqmGO-2024-2818

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
btcd btcdbefore 0.24.0CVE List
github.com/btcsuite/btcd (Go)before 0.24.0GitHub Advisory Database, Go Vulnerability Database
btcd_project btcdbefore 0.24.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHubmedium rating

Classification

CWE-436

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

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.

NVD (es)

btcd anterior a 0.24.0 no implementa correctamente las reglas de consenso descritas en BIP 68 y BIP 112, lo que lo hace susceptible a fallas de consenso. Específicamente, utiliza la versión de la transacción como un entero con signo cuando se supone que debe tratarse como sin signo. Puede haber una división de la cadena y una pérdida de fondos.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-34478 changed 2024-08-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-3jgf-r68h-xfqm changed 2024-08-07CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2818 changed 2024-05-20CC-BY-4.0
NVDCVE-2024-34478 changed 2026-06-17Public domain