CVE-2015-20001
Summary
| CVE | CVE-2015-20001 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-04-11 20:15:00 UTC |
| Updated | 2021-04-22 14:54:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-119
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| collections: Make BinaryHeap panic safe in sift_up / sift_down by bluss · Pull Request #25856 · rust-lang/rust · GitHub | MISC | github.com | |
| BinaryHeap is not exception safe · Issue #25842 · rust-lang/rust · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.