CVE-2020-36219 Data race in atomic-option

Medium 5.9 Published Updated

A data race in the atomic-option crate can lead to undefined behavior due to incorrect Sync implementation, affecting Rust applications using this library.

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

What is CVE-2020-36219?

CVE-2020-36219 is a medium-severity vulnerability in n/a, published on 22 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the atomic-option crate through 2020-10-31 for Rust. Because AtomicOption<T> implements Sync unconditionally, a data race can occur.

Which versions are affected by CVE-2020-36219?

3 open source packages ship an affected version, including atomic-option. It affects 1 product.

PackageAffectedFixed in
atomic-option crates.ioAll versions to 0.1.2None
atomic-option crates.ioAll versions to 0.1.2None
atomic-option crates.ioFrom 0.0.0-0None

Products include Atomic-Option Project Atomic-Option.

How do I fix CVE-2020-36219?

No fix has been published for CVE-2020-36219 yet. Limit exposure of the affected software until one is available.

Is CVE-2020-36219 being exploited?

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

Sources

Also known as GHSA-8gf5-q9p9-wvmc, RUSTSEC-2020-0113.

Is CVE-2020-36219 in your software?

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

Check your SBOMs for free