Synchronization Flaw in Rust Standard Library Affects Memory Safety
CVE-2018-25008
5.9MEDIUM
Key facts: CVE-2018-25008 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 1.0%, the estimated probability of exploitation in the next 30 days.
What is CVE-2018-25008?
The Rust standard library, prior to version 1.29.0, contains a synchronization flaw in the Arc::get_mut method. This issue can result in memory safety violations due to potential race conditions, allowing concurrent access without proper control. Developers utilizing affected versions should upgrade to ensure safer multithreading practices and avoid unpredictable behavior in their applications.
References
https://github.com/rust-lang/rust/issues/51780
x_refsource_MISC
https://github.com/rust-lang/rust/pull/52031
x_refsource_MISC
More Rust-lang vulnerabilities
- CVE-2024-24576: Rust standard library vulnerable to arbitrary shell command execution(CRITICAL)
