CVE-2020-36457 Data races in lever
The lever crate incorrectly implements Send and Sync traits, potentially causing undefined behavior in concurrent contexts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-36457?
CVE-2020-36457 is a high-severity vulnerability in n/a, published on 8 Aug 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 lever crate before 0.1.1 for Rust. AtomicBox<T> implements the Send and Sync traits for all types T.
Weakness: CWE-77
Which versions are affected by CVE-2020-36457?
3 open source packages ship an affected version, including lever. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
lever crates.io | All versions | 0.1.1 |
lever crates.io | All versions | 0.1.1 |
lever crates.io | From 0.0.0-0 | 0.1.1 |
Products include Lever Project Lever.
How do I fix CVE-2020-36457?
Upgrade lever to 0.1.1 or later.
Is CVE-2020-36457 being exploited?
There is no known exploitation of CVE-2020-36457 in the wild and no public exploit code.
Sources
Also known as GHSA-9pp4-8p8v-g78w, RUSTSEC-2020-0137.