CVE-2020-35898 Use after free in actix-utils
A flaw in the actix-utils crate allows obtaining multiple mutable references, potentially leading to memory corruption and code execution.
- 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-35898?
CVE-2020-35898 is a critical use after free vulnerability in n/a, published on 31 Dec 2020. 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 actix-utils crate before 2.0.0 for Rust. The Cell implementation allows obtaining more than one mutable reference to the same data.
Weakness: CWE-416
Which versions are affected by CVE-2020-35898?
3 open source packages ship an affected version, including actix-utils. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
actix-utils crates.io | All versions | 2.0.0 |
actix-utils crates.io | All versions | 2.0.0 |
actix-utils crates.io | From 0.0.0-0 | 2.0.0 |
Products include Actix Actix-Utils.
How do I fix CVE-2020-35898?
Upgrade actix-utils to 2.0.0 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-2020-35898 being exploited?
There is no known exploitation of CVE-2020-35898 in the wild and no public exploit code.
Sources
Also known as GHSA-hhw2-pqhf-vmx2, RUSTSEC-2020-0045.