CVE-2024-38365
Consensus failure in github.com/btcsuite/btcd
7.4
HIGH
CVSS 3.1
EPSS 0.43%
Description
The btcd Bitcoin client (versions 0.10 to 0.24) did not correctly re-implement Bitcoin Core's 'FindAndDelete()' functionality, causing discrepancies in the validation of Bitcoin blocks. This can lead to a chain split (accepting an invalid block) or Denial of Service (DoS) attacks (rejecting a valid block). An attacker can trigger this vulnerability by constructing a 'standard' Bitcoin transaction that exhibits different behaviors in 'FindAndDelete()' and 'removeOpcodeByData()'.
How to fix CVE-2024-38365
To remediate CVE-2024-38365, upgrade the affected package to a fixed version below.
- —upgrade to 0.24.2-beta.rc1 or later
- —upgrade to 0.24.2-beta.rc1 or later
Is CVE-2024-38365 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.24.2-beta.rc1
- from 0, < 0.24.2-beta.rc1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |