CVE-2020-36434 Double free in sys-info
A double free vulnerability in the sys-info crate 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-2020-36434?
CVE-2020-36434 is a critical use after free 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 sys-info crate before 0.8.0 for Rust. sys_info::disk_info calls can trigger a double free.
Weakness: CWE-415
Which versions are affected by CVE-2020-36434?
3 open source packages ship an affected version, including sys-info. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sys-info crates.io | All versions | 0.8.0 |
sys-info crates.io | All versions | 0.8.0 |
sys-info crates.io | From 0.0.0-0 | 0.8.0 |
Products include Sys-Info Project Sys-Info.
How do I fix CVE-2020-36434?
Upgrade sys-info to 0.8.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-36434 being exploited?
There is no known exploitation of CVE-2020-36434 in the wild and no public exploit code.
Sources
Also known as GHSA-2f5j-3mhq-xv58, RUSTSEC-2020-0100.