CVE-2015-20001

NameCVE-2015-20001
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rustc (PTS)stretch1.34.2+dfsg1-1~deb9u1fixed
stretch (security)1.41.1+dfsg1-1~deb9u1fixed
buster1.41.1+dfsg1-1~deb10u1fixed
bullseye1.48.0+dfsg1-2fixed
bookworm, sid1.49.0+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rustcsource(unstable)1.2.0+dfsg1-1

Notes

[bullseye] - rustc <no-dsa> (Minor issue)
[buster] - rustc <no-dsa> (Minor issue)
https://github.com/rust-lang/rust/issues/25842
https://github.com/rust-lang/rust/pull/25856

Search for package or bug name: Reporting problems