Vulnerability in Rand Core Project
CVE-2021-27378
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.
EPSS: 0.012 (65.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Rand_core_project Rand_core
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-27378?
- CVE-2021-27378 is a critical-severity vulnerability in Rand Core Project, classified under Incorrect Calculation of Buffer Size. CVSS score: 9.8/10. Published 2021-02-18.
- How severe is CVE-2021-27378?
- Critical severity. CVSS v3 base score is 9.8 out of 10.