Advisory

GHSA-6wp2-fw3v-mfmc

Also known as: CVE-2020-36452, RUSTSEC-2020-0132

Summary

Memory corruption in array-tools

Details

An issue was discovered in the array-tools crate before 0.3.2 for Rust. Affected versions of this crate don't guard against panics, so that partially uninitialized buffer is dropped when user-provided T::clone() panics in FixedCapacityDequeLike<T, A>::clone(). This causes memory corruption.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

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

Affected packages and fixes

array-tools

crates.io · All systems

Affected

  • introduced 0, fixed 0.3.2 (semver)

Fixed versions

0.3.2

Fix

  • Fixed version 0.3.2
    cargo update -p array-tools --precise 0.3.2

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