Read the docs
TI-2021-08871 Aliases CVE-2021-27378GHSA-w7j2-35mf-95p7

An issue was discovered in the rand_core crate before 0.6.2 for Rust.

Priority MEDIUM 45CWE-131Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-131 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01238 69th percentileScored 2026-11-07
Fix Fixed rand_core (crates.io): 0.6.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—rand_core (crates.io)0.6.0 to before 0.6.20.6.2Patch availableGHSA-w7j2-35mf-95p7
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • rand_core (crates.io) Vendor— Affected 0.6.0 to before 0.6.2 Fixed in 0.6.2 Patch available GHSA-w7j2-35mf-95p7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rand_core_project:rand_core:*:*:*:*:*:rust:*:*0.6.0 to before 0.6.2VulnerableRand Core Project
  • cpe:2.3:a:rand_core_project:rand_core:*:*:*:*:*:rust:*:* Versions 0.6.0 to before 0.6.2 Vulnerable ·Rand Core Project

Remediation

  • Fix · GHSA-w7j2-35mf-95p7 rand_core (crates.io) Fixed in 0.6.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-27378
  2. 2026-10-03 Alias added: GHSA-w7j2-35mf-95p7

References

Sources