cve.bz

CVE-2021-27378

9.8 criticalEPSS 1.2%

Critical (9.8) in rand core project rand core. EPSS 1.2% chance of exploitation in the next 30 days. Fixed in rand_core 0.6.2.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% chance of exploitation in the next 30 days; higher than 69% of CVEs (scores of 2026-10-31)
CWE
CWE-131
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w7j2-35mf-95p7crates.iorand_core>=0.6.0 <0.6.20.6.2
RUSTSEC-2021-0023crates.iorand_core>=0.6.0 <0.6.20.6.2

References

Check your stackJSON