Описание
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.
| Релиз | Статус | Примечание |
|---|---|---|
| bionic | not-affected | 1.47.0+dfsg1+llvm-1ubuntu1~18.04.1 |
| devel | not-affected | |
| esm-apps/bionic | not-affected | 1.47.0+dfsg1+llvm-1ubuntu1~18.04.1 |
| esm-apps/focal | not-affected | |
| esm-apps/xenial | not-affected | 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 |
| esm-infra-legacy/trusty | not-affected | 1.31.0+dfsg1+llvm-2ubuntu1~14.04.1 |
| focal | not-affected | |
| groovy | not-affected | |
| precise/esm | DNE | |
| trusty | ignored | end of standard support |
Показывать по
5 Medium
CVSS2
7.5 High
CVSS3
Связанные уязвимости
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.
In the standard library in Rust before 1.2.0, BinaryHeap is not panic- ...
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.
5 Medium
CVSS2
7.5 High
CVSS3