ADVISORIES

Vulnerability

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.

4 advisories report this vulnerability, across 3 ecosystems.

Advisories in crates.io

  • GHSA-w7j2-35mf-95p7

    Incorrect check on buffer length in rand_core

    Critical CVE-2021-27378 crates.io Updated 8 November 2023
  • RUSTSEC-2021-0023

    Incorrect check on buffer length when seeding RNGs

    CVE-2021-27378 crates.io Updated 8 November 2023

References