Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0zamdmLXI2OGgteGZxbc4AA7wZ

btcd susceptible to consensus failures

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.

Permalink: https://github.com/advisories/GHSA-3jgf-r68h-xfqm
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zamdmLXI2OGgteGZxbc4AA7wZ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 7 months ago
Updated: 4 months ago


Identifiers: GHSA-3jgf-r68h-xfqm, CVE-2024-34478
References: Repository: https://github.com/btcsuite/btcd
Blast Radius: 0.0

Affected Packages

go:github.com/btcsuite/btcd
Dependent packages: 11,705
Dependent repositories: 10,491
Downloads:
Affected Version Ranges: < 0.24.0
Fixed in: 0.24.0
All affected versions: 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.16.5, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.22.1, 0.22.2, 0.22.3, 0.23.0, 0.23.1, 0.23.2, 0.23.3, 0.23.4
All unaffected versions: 0.24.0, 0.24.2