AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 42 Bitcoin

index: Check availability of undo data for indices

Public commit record

What the developer wrote

Authored by Fabian Jahr

50/100 · Thin
index: Check availability of undo data for indices
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This Bitcoin Core commit tightens startup checks for optional indexes (like the block filter and coin stats indexes) when a node is running in pruned mode. Previously, the startup check only verified that raw block data was available on disk. Some indexes, however, also need 'undo' data to catch up from an older block. If a user pruned blocks but kept the index enabled, the index could try to sync past the pruned undo data and fail or behave incorrectly. The fix now separately checks whether both block and undo data are available for indexes that require undo data, and only checks block data for indexes that do not. It is a defensive correctness fix rather than a remote-exploitable vulnerability.

Recommended action

Treat as a hardening/correctness patch. Operators running pruned nodes with block-filter or coin-stats indexes should upgrade to avoid startup failures or inconsistent index state. No urgent hotfix is indicated for remote attack scenarios.

Security signals we found

01

Pruned-node index startup now enforces undo-data availability for undo-dependent indexes

02

CheckBlockDataAvailability now accepts an explicit BlockStatus mask, allowing differentiated checks

03

Functional test error messages updated to include 'including undo data'

04

Unit test added to verify that BLOCK_HAVE_DATA can pass when BLOCK_HAVE_UNDO is absent

Risk score

Why this scored 42/100

Our methodology →
Potential impact 12/30
Exploitability 5/25
Stealth signal 6/15
Affected reach 8/15
Confidence 7/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.