CVE-2020-35859 is a critical-severity (CVSS 9.1) Out-of-bounds Read vulnerability in lucet-runtime-internals. A fix is available for lucet-runtime-internals — see the affected versions and patch details below.
Out of bounds access in lucet-runtime-internals
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
lucet-runtime-internals🦀lucet-runtime-internalsReal-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
An embedding using affected versions of lucet-runtime configured to use non-default Wasm globals sizes of more than 4KiB, or compiled in debug mode without optimizations, could leak data from the signal handler stack to guest programs. This can potentially cause data from the embedding host to leak to guest programs or cause corruption of guest program memory. This flaw was resolved by correcting the sigstack allocation logic.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | lucet-runtime-internals | all versions | 0.4.3cargo update -p lucet-runtime-internals --precise 0.4.3 |
| 🦀crates.io | lucet-runtime-internals | ≥ 0.5.0&&< 0.5.1 | 0.5.1cargo update -p lucet-runtime-internals --precise 0.5.1 |
Affected Products
lucet-runtime-internalslucet-runtime-internals_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for lucet-runtime-internals, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update lucet-runtime-internals to 0.4.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-35859 is resolved across your whole dependency graph.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
Frequently Asked Questions
Is CVE-2020-35859 in your dependencies?
Find it across crates.io, including transitive dependencies.