CVE-2020-35907: futures_task::noop_waker_ref can segfault due to dereferencing a NULL pointer
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.33834%
CWE
Published
5/24/2022
Updated
6/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| futures-task | rust | < 0.3.5 | 0.3.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability root cause is explicitly tied to noop_waker_ref's implementation using thread-local storage. The reproduction example demonstrates crash occurs when the waker reference crosses thread boundaries. Advisory descriptions and CVE analysis all identify this function as the source of improper thread-local storage handling. The function's design violated thread safety assumptions as Waker's Sync implementation allowed cross-thread usage.