CVE-2024-35202
Bitcoin Core vulnerability analysis and mitigation

Overview

A high-severity vulnerability tracked as CVE-2024-35202 was discovered in Bitcoin Core versions prior to 25.0. The vulnerability allows remote attackers to cause a denial of service by triggering an assertion in the blocktxn message handling logic, resulting in node crashes (Bitcoin Core Disclosure, Security Online). The vulnerability was assigned a CVSS v3.0 base score of 7.5.

Technical details

The vulnerability occurs in Bitcoin Core's compact block protocol, which uses shortened transaction identifiers to reduce bandwidth usage. When receiving a block announcement via a cmpctblock message, Bitcoin Core attempts to reconstruct the block using transactions from its mempool. If reconstruction fails due to missing transactions, it requests them via a getblocktxn message. The flaw arises when a second blocktxn message is received for the same block, triggering the FillBlock function twice and violating the assumption that this function should only be called once (Bitcoin Core Disclosure).

Impact

A successful exploitation of this vulnerability enables attackers to remotely crash Bitcoin Core nodes, potentially causing significant disruptions to the network's stability and functionality. While the crash doesn't enable attackers to compromise funds or steal data, it can cause temporary gaps in transaction processing as affected nodes need to restart (Security Online).

Mitigation and workarounds

The vulnerability has been fixed in Bitcoin Core version 25.0. Users running affected versions are strongly advised to upgrade to this version to protect against potential attacks (ASEC).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management