Vulnerability Details : 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.
Products affected by CVE-2021-27378
- cpe:2.3:a:rand_core_project:rand_core:*:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-27378
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 60 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-27378
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-27378
-
The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-27378
-
https://rustsec.org/advisories/RUSTSEC-2021-0023.html
RUSTSEC-2021-0023: rand_core: Incorrect check on buffer length when seeding RNGs › RustSec Advisory DatabaseThird Party Advisory
Jump to