Name | CVE-2021-27378 |
Description | An 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. |
Source | CVE (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 Package | Release | Version | Status |
---|
rust-rand-core (PTS) | buster | 0.3.0-1 | fixed |
| bullseye | 0.5.1-1 | fixed |
| bookworm | 0.6.3-2 | fixed |
| sid, trixie | 0.6.4-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
rust-rand-core | source | (unstable) | (not affected) | | | |
Notes
- rust-rand-core <not-affected> (0.5.1 not affected, see #985087)
https://rustsec.org/advisories/RUSTSEC-2021-0023.html