CVE-2020-25576

NameCVE-2020-25576
DescriptionAn issue was discovered in the rand_core crate before 0.4.2 for Rust. Casting of byte slices to integer slices mishandles alignment constraints.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs969911, 970185, 970186

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-rand-core (PTS)buster0.3.0-1vulnerable
bullseye0.5.1-1fixed
bookworm0.6.3-2fixed
sid, trixie0.6.4-1fixed
rust-rand-core-0.2 (PTS)buster0.2.2-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-rand-coresource(unstable)0.5.0-1low969911
rust-rand-core-0.2source(unstable)(unfixed)low970185
rust-rand-core-0.3source(unstable)(unfixed)low970186

Notes

[buster] - rust-rand-core <ignored> (Minor issue)
[buster] - rust-rand-core-0.2 <ignored> (Minor issue)
https://rustsec.org/advisories/RUSTSEC-2019-0035.html
https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md#050---2019-06-06

Search for package or bug name: Reporting problems