CVE-2020-35885 Double free in alpm-rs
Improper memory deallocation in the alpm-rs Rust crate allows attackers to trigger use-after-free conditions, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-35885?
CVE-2020-35885 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 alpm-rs crate through 2020-08-20 for Rust. StrcCtx performs improper memory deallocation.
Weakness: CWE-415
Which versions are affected by CVE-2020-35885?
3 open source packages ship an affected version, including alpm-rs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
alpm-rs crates.io | All versions to 0.1.24 | None |
alpm-rs crates.io | All versions to 0.1.24 | None |
alpm-rs crates.io | From 0.0.0-0 | None |
Products include Alpm-Rs Project Alpm-Rs.
How do I fix CVE-2020-35885?
No fix has been published for CVE-2020-35885 yet. Limit exposure of the affected software until one is available.
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-35885 being exploited?
There is no known exploitation of CVE-2020-35885 in the wild and no public exploit code.
Sources
Also known as GHSA-qc4m-gc8r-mg8m, RUSTSEC-2020-0032.