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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh
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
bullseye, sid0.5.1-1fixed
rust-rand-core-0.2 (PTS)buster0.2.2-1vulnerable
rust-rand-core-0.3 (PTS)bullseye, sid0.3.0-2vulnerable

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 <no-dsa> (Minor issue)
[buster] - rust-rand-core-0.2 <no-dsa> (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