{"id":"CVE-2021-27378","published":"2021-02-18T03:35:07Z","modified":"2024-08-03T20:48:16Z","title":"An issue was discovered in the rand_core crate before 0.6.2 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01253,"percentile":0.7018,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0023.html","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":14.04}]},"affected":[{"ecosystem":"crates.io","package":"rand_core","vulnerableRanges":[">=0.6.0, <0.6.2"],"patched":["0.6.2"],"from":["GHSA-w7j2-35mf-95p7","RUSTSEC-2021-0023"],"provenance":"source"}],"summary":{"text":"The rand_core crate for Rust, before version 0.6.2, contains a flaw in its read_u32_into and read_u64_into functions, which mishandle certain buffer-length checks. An attacker can exploit this where a random number generator is seeded with too little data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:57Z"},"euvd":{"id":"EUVD-2021-1910","exploited":false,"provenance":"source"}}