CVE catalog

CVE-2021-27378

rust-rand-core: CVE-2021-27378

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.24% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrust-rand-coresid0.10.1-1not affected
Debianrust-rand-coreforky0.10.1-1not affected
Debianrust-rand-coretrixie0.6.4-2not affected
Debianrust-rand-corebookworm0.6.3-2not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-rand-coresourcesidNot affectedunimportantNot reportedNot reported
Debianrust-rand-coresourceforkyNot affectedunimportantNot reportedNot reported
Debianrust-rand-coresourcetrixieNot affectedunimportantNot reportedNot reported
Debianrust-rand-coresourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [librust-rand-core-dev]Not affected

    Source package: [rust-rand-core]

    Details (2)
    • 0.6.3-2 · amd64 · bookworm

      Not affected

      dsa · rust-rand-core · debian · bookworm

    • 0.6.3-2 · arm64 · bookworm

      Not affected

      dsa · rust-rand-core · debian · bookworm

  • Source package: [rust-rand-core]

    Details (2)
    • 0.6.3-2 · amd64 · bookworm

      Not affected

      dsa · rust-rand-core · debian · bookworm

    • 0.6.3-2 · arm64 · bookworm

      Not affected

      dsa · rust-rand-core · debian · bookworm

  • Source package: [rust-rand-core]

    Details (2)
    • 0.6.3-2 · amd64 · bookworm

      Not affected

      dsa · rust-rand-core · debian · bookworm

    • 0.6.3-2 · arm64 · bookworm

      Not affected

      dsa · rust-rand-core · debian · bookworm

  • Source package: [rust-rand-core]

    Details (2)
    • 0.6.3-2 · amd64 · bookworm

      Not affected

      dsa · rust-rand-core · debian · bookworm

    • 0.6.3-2 · arm64 · bookworm

      Not affected

      dsa · rust-rand-core · debian · bookworm

Observed:

References