CVE-2017-20004 Race condition in n/a

Medium 5.9 Published Updated

A race condition in the Rust standard library's MutexGuard allows memory safety violations, potentially leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-20004?

CVE-2017-20004 is a medium-severity vulnerability in n/a, published on 14 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-362

Which versions are affected by CVE-2017-20004?

It affects 1 product.

Products include Rust-Lang Rust.

How do I fix CVE-2017-20004?

Upgrade to a fixed version.

Is CVE-2017-20004 being exploited?

There is no known exploitation of CVE-2017-20004 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-20004, GHSA-9pmw-f3q3-5rcf.

Is CVE-2017-20004 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free