CVE-2015-20001
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.
Published
2021-04-11T20:15:12.237
Last Modified
2024-11-21T02:26:32.737
Status
Modified
Source
[email protected]
Severity
CVSSv3.1: 7.5 (HIGH)
CVSSv2 Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector: NETWORK
- Access Complexity: LOW
- Authentication: NONE
- Confidentiality Impact: NONE
- Integrity Impact: NONE
- Availability Impact: PARTIAL
Exploitability Score
10.0
Impact Score
2.9
Weaknesses
Affected Vendors & Products
Type |
Vendor |
Product |
Version/Range |
Vulnerable? |
Application |
rust-lang
|
rust
|
< 1.2.0 |
Yes
|
References
-
https://github.com/rust-lang/rust/issues/25842
Exploit, Issue Tracking, Patch, Third Party Advisory
([email protected])
-
https://github.com/rust-lang/rust/pull/25856
Issue Tracking, Patch, Third Party Advisory
([email protected])
-
https://github.com/rust-lang/rust/issues/25842
Exploit, Issue Tracking, Patch, Third Party Advisory
(af854a3a-2127-422b-91ae-364da2661108)
-
https://github.com/rust-lang/rust/pull/25856
Issue Tracking, Patch, Third Party Advisory
(af854a3a-2127-422b-91ae-364da2661108)