CVE-2021-27378

NameCVE-2021-27378
DescriptionAn issue was discovered in the rand_core crate before 0.6.2 for Rust. Because read_u32_into and read_u64_into mishandle certain buffer-length checks, a random number generator may be seeded with too little data.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

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

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-rand-coresource(unstable)(not affected)

Notes

- rust-rand-core <not-affected> (0.5.1 not affected, see #985087)
https://rustsec.org/advisories/RUSTSEC-2021-0023.html

Search for package or bug name: Reporting problems