CVE-2015-20001 Memory corruption in n/a
A panic in Rust's BinaryHeap operations can cause memory corruption, potentially allowing arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-20001?
CVE-2015-20001 is a high-severity memory corruption vulnerability in n/a, published on 11 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the standard library in Rust before 1.2.0, BinaryHeap is not panic-safe. The binary heap is left in an inconsistent state when the comparison of generic elements inside sift_up or sift_down_range panics. This bug leads to a drop of zeroed memory as an arbitrary type, which can result in a memory safety violation.
Weakness: CWE-119
Which versions are affected by CVE-2015-20001?
It affects 1 product.
Products include Rust-Lang Rust.
How do I fix CVE-2015-20001?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2015-20001 being exploited?
There is no known exploitation of CVE-2015-20001 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2015-20001, GHSA-gf7g-j42c-9rjr.