`Read` on uninitialized buffer may cause UB ( `read_entry()` )GHSA-p56p-gq3f-whg8
Fix: sunrise-choir/flumedb-rs#12GHSA-p56p-gq3f-whg8 is a CWE-908 vulnerability in flumedb. A fix is available for flumedb — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
flumedbReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
Description
Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation.
There are two of such cases (go_offset_log::read_entry() & offset_log::read_entry()).
Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.
Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | flumedb | all versions | 0.1.6cargo update -p flumedb --precise 0.1.6 |
Affected Products
flumedbflumedb_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for flumedb, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update flumedb to 0.1.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-p56p-gq3f-whg8 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-p56p-gq3f-whg8 in your dependencies?
Find it across crates.io, including transitive dependencies.