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.
Metrics
Affected Vendors & Products
References
History
No history.

Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-06T08:58:26.443Z
Reserved: 2021-04-11T00:00:00
Link: CVE-2015-20001

No data.

Status : Modified
Published: 2021-04-11T20:15:12.237
Modified: 2024-11-21T02:26:32.737
Link: CVE-2015-20001

No data.