Critical severityNVD Advisory· Published Feb 18, 2021· Updated Aug 3, 2024
CVE-2021-27378
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rand_corecrates.io | >= 0.6.0, < 0.6.2 | 0.6.2 |
Affected products
2- rand_core/rand_coredescription
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-w7j2-35mf-95p7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-27378ghsaADVISORY
- github.com/rust-random/rand/compare/0.6.0...rand_core-0.6.2ghsaWEB
- github.com/rust-random/rand/compare/0.6.0...rand_core-0.6.2ghsaWEB
- github.com/rust-random/rand/pull/1096ghsaWEB
- rustsec.org/advisories/RUSTSEC-2021-0023.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.