CVE-2020-36219 Data race in atomic-option
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.
| Package | Affected | Fixed in |
|---|---|---|
atomic-option crates.io | All versions to 0.1.2 | None |
atomic-option crates.io | All versions to 0.1.2 | None |
atomic-option crates.io | From 0.0.0-0 | None |
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.