CVE-2020-36434 Double free in sys-info

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
sys-info crates.ioAll versions0.8.0
sys-info crates.ioAll versions0.8.0
sys-info crates.ioFrom 0.0.0-00.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.

Is CVE-2020-36434 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free