GitHub Advisoryadvisory · crates.io

GHSA-cgmg-2v6m-fjg7 Free of uninitialized memory in autorand

HIGH Published 2021-08-25 Modified 2021-08-19 Official page ↗
Aliases
CVE-2020-36210
Ecosystem
crates.io
Packages
autorand
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-908
Reviewed
2021-08-19

Affected packages

• crates.io autorand: < 0.2.3 → fixed in 0.2.3

Description

An issue was discovered in the autorand crate before 0.2.3 for Rust. Because of impl Random on arrays, uninitialized memory can be dropped when a panic occurs, leading to memory corruption.

Related

Alias · CVE (1)

  • CVE-2020-36210 An issue was discovered in the autorand crate before 0.2.3 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-908 Use of Uninitialized Resource weakness

References