CVE-2018-25008: Race Condition

Published Apr 14, 2021
·
Updated

In the standard library in Rust before 1.29.0, there is weak synchronization in the Arc::getmut method. This synchronization issue can be lead to memory safety issues through race conditions.

Affected Software

1 affected component
rust-lang Rust<1.29.0

Event History

Apr 14, 2021
CVE Published
via MITRE·06:10 AM
Data Sourced
via MITRE·06:10 AM
Description

Frequently Asked Questions

1

What is CVE-2018-25008?

CVE-2018-25008 is a vulnerability in the standard library in Rust before version 1.29.0 that involves weak synchronization in the Arc::get_mut method.

2

How does CVE-2018-25008 affect Rust?

CVE-2018-25008 can lead to memory safety issues in Rust due to weak synchronization in the Arc::get_mut method, which can result in race conditions.

3

What is the severity of CVE-2018-25008?

The severity of CVE-2018-25008 is medium with a CVSS score of 5.9.

4

How can I fix CVE-2018-25008?

To fix CVE-2018-25008, update Rust to version 1.29.0 or later, which includes the necessary patches to address the weak synchronization in the Arc::get_mut method.

5

Where can I find more information about CVE-2018-25008?

You can find more information about CVE-2018-25008 on the official GitHub pages for this vulnerability: [GitHub Issue](https://github.com/rust-lang/rust/issues/51780), [GitHub Pull Request](https://github.com/rust-lang/rust/pull/52031).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203