CVEvulnerability

CVE-2021-27378

9.8 CRITICAL Published 2021-02-18 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-02-18
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-131

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.

Affected configurations

• rand core project rand core (>= 0.6.0 < 0.6.2)

Related

Weakness · CWE (1)

  • CWE-131 Incorrect Calculation of Buffer Size weakness

References