PT-2021-8382 · Rust+1 · Rust+1
Bluss
·
Published
2021-04-11
·
Updated
2021-04-22
·
CVE-2015-20001
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Rust versions prior to 1.2.0
Description
The issue arises from the standard library in Rust, where the BinaryHeap is not panic-safe. When the comparison of generic elements inside
sift up or sift down range panics, the binary heap is left in an inconsistent state. This can lead to a drop of zeroed memory as an arbitrary type, resulting in a memory safety violation.Recommendations
For versions prior to 1.2.0, update to version 1.2.0 or later to resolve the issue.
Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Rust