CVE-2018-20996 Double free in crossbeam
A double free vulnerability in the crossbeam Rust library allows attackers to cause denial of service or potentially execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-20996?
CVE-2018-20996 is a critical use after free vulnerability in n/a, published on 26 Aug 2019. 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 crossbeam crate before 0.4.1 for Rust. There is a double free because of destructor mishandling.
Weakness: CWE-415
Which versions are affected by CVE-2018-20996?
3 open source packages ship an affected version, including crossbeam. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
crossbeam crates.io | From 0.4.0 | 0.4.1 |
crossbeam crates.io | From 0.4.0 | 0.4.1 |
crossbeam crates.io | From 0.4.0 | 0.4.1 |
Products include Crossbeam Project Crossbeam.
How do I fix CVE-2018-20996?
Upgrade crossbeam to 0.4.1 or later.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2018-20996 being exploited?
There is no known exploitation of CVE-2018-20996 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-c3cw-c387-pj65, RUSTSEC-2018-0009, UBUNTU-CVE-2018-20996.