CVE-2020-36452 Memory corruption in array-tools
A memory corruption vulnerability in the Rust array-tools crate allows attackers to cause crashes or potentially execute code via uninitialized memory drops.
- 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-36452?
CVE-2020-36452 is a critical memory corruption 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 array-tools crate before 0.3.2 for Rust. FixedCapacityDequeLike::clone() has a drop of uninitialized memory.
Weakness: CWE-908
Which versions are affected by CVE-2020-36452?
3 open source packages ship an affected version, including array-tools. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
array-tools crates.io | All versions | 0.3.2 |
array-tools crates.io | All versions | 0.3.2 |
array-tools crates.io | From 0.0.0-0 | 0.3.2 |
Products include Array-Tools Project Array-Tools.
How do I fix CVE-2020-36452?
Upgrade array-tools to 0.3.2 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-36452 being exploited?
There is no known exploitation of CVE-2020-36452 in the wild and no public exploit code.
Sources
Also known as GHSA-6wp2-fw3v-mfmc, RUSTSEC-2020-0132.