CVE-2020-35897 Data races in atom
A race condition in the Rust atom crate allows cross-thread data races, potentially leading to memory corruption or data inconsistency.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35897?
CVE-2020-35897 is a medium-severity vulnerability in n/a, published on 31 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in the atom crate before 0.3.6 for Rust. An unsafe Send implementation allows a cross-thread data race.
Weakness: CWE-362
Which versions are affected by CVE-2020-35897?
3 open source packages ship an affected version, including atom. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
atom crates.io | All versions | 0.3.6 |
atom crates.io | All versions | 0.3.6 |
atom crates.io | From 0.0.0-0 | 0.3.6 |
Products include Atom Project Atom.
How do I fix CVE-2020-35897?
Upgrade atom to 0.3.6 or later.
Is CVE-2020-35897 being exploited?
There is no known exploitation of CVE-2020-35897 in the wild and no public exploit code.
Sources
Also known as GHSA-9cg2-2j2h-59v9, RUSTSEC-2020-0044.