Advisory

GHSA-cgmg-2v6m-fjg7

Also known as: CVE-2020-36210, RUSTSEC-2020-0103

Summary

Free of uninitialized memory in autorand

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:50 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

autorand

crates.io · All systems

Affected

  • introduced 0, fixed 0.2.3 (semver)

Fixed versions

0.2.3

Fix

  • Fixed version 0.2.3
    cargo update -p autorand --precise 0.2.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences