CVE-2020-35899 Use after free in actix-service
A flaw in the actix-service crate allows obtaining multiple mutable references, potentially leading to memory corruption and code execution.
- 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-35899?
CVE-2020-35899 is a medium-severity use after free 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 actix-service crate before 1.0.6 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-35899?
3 open source packages ship an affected version, including actix-service. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
actix-service crates.io | All versions | 1.0.6 |
actix-service crates.io | All versions | 1.0.6 |
actix-service crates.io | From 0.0.0-0 | 1.0.6 |
Products include Actix Actix-Service.
How do I fix CVE-2020-35899?
Upgrade actix-service to 1.0.6 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-35899 being exploited?
There is no known exploitation of CVE-2020-35899 in the wild and no public exploit code.
Sources
Also known as GHSA-whc7-5p35-4ww2, RUSTSEC-2020-0046.