CVE-2020-36210 Free of uninitialized memory in autorand

High 7.8 Published Updated

Attackers can trigger memory corruption via uninitialized memory drops during panics in the Rust autorand crate, potentially leading to code execution or crashes.

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-36210?

CVE-2020-36210 is a high-severity memory corruption vulnerability in n/a, published on 22 Jan 2021. 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 autorand crate before 0.2.3 for Rust. Because of impl Random on arrays, uninitialized memory can be dropped when a panic occurs, leading to memory corruption.

Weakness: CWE-908, CWE-787

Which versions are affected by CVE-2020-36210?

3 open source packages ship an affected version, including autorand. It affects 1 product.

PackageAffectedFixed in
autorand crates.ioAll versions0.2.3
autorand crates.ioAll versions0.2.3
autorand crates.ioFrom 0.0.0-00.2.3

Products include Autorand Project Autorand.

How do I fix CVE-2020-36210?

Upgrade autorand to 0.2.3 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-36210 being exploited?

There is no known exploitation of CVE-2020-36210 in the wild and no public exploit code.

Sources

Also known as GHSA-cgmg-2v6m-fjg7, RUSTSEC-2020-0103.

Is CVE-2020-36210 in your software?

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

Check your SBOMs for free