Synchronization Issue in Rust Standard Library Leading to Memory Safety Risks
CVE-2017-20004
5.9MEDIUM
Key facts: CVE-2017-20004 is a medium severity (CVSS 5.9) vulnerability in Rust-lang Rust. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.7%, the estimated probability of exploitation in the next 30 days.
What is CVE-2017-20004?
In the Rust standard library, versions before 1.19.0 contain a synchronization flaw within the MutexGuard object. This issue permits MutexGuards to be shared across threads with various types, potentially leading to memory safety vulnerabilities due to race conditions. This vulnerability can compromise the integrity of applications that rely on multi-threading, necessitating careful handling and robust defenses.
References
https://github.com/rust-lang/rust/issues/41622
x_refsource_MISC
https://github.com/rust-lang/rust/pull/41624
x_refsource_MISC
More Rust-lang vulnerabilities
- CVE-2024-24576: Rust standard library vulnerable to arbitrary shell command execution(CRITICAL)
