Vulnerability · Published Feb 18, 2021 · Assigned by mitre
CVE-2021-27378
Critical 9.8
In plain English
A critical-severity security flaw in the rust-rand-core package (Ubuntu). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities).
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.2%top 30.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | rust-rand-core | no fix listed | UBUNTU-CVE-2021-27378 |
| Ubuntu:24.04:LTS | rust-rand-core | no fix listed | UBUNTU-CVE-2021-27378 |
| Ubuntu:25.10 | rust-rand-core | no fix listed | UBUNTU-CVE-2021-27378 |
| Ubuntu:26.04:LTS | rust-rand-core | no fix listed | UBUNTU-CVE-2021-27378 |
| Ubuntu:26.10 | rust-rand-core | no fix listed | UBUNTU-CVE-2021-27378 |
Affected products (as reported)
References
- https://rustsec.org/advisories/RUSTSEC-2021-0023.html x_refsource_MISC