Vulnerability in Rust-Lang Rust
CVE-2017-20004
In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.008 (54.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 55th percentile — 54.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/rust-lang/rust/issues/41622 (Patch, Third Party Advisory)
- github.com/rust-lang/rust/pull/41624 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2017-20004?
- CVE-2017-20004 is a medium-severity vulnerability in Rust-Lang Rust, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 5.9/10. Published 2021-04-14.
- How severe is CVE-2017-20004?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2017-20004 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.