Advisory

GHSA-h45v-vgvp-3h5v

Also known as: CVE-2020-35895, RUSTSEC-2020-0042

Summary

Out-of-bounds write in stack

Details

ArrayVec::insert allows insertion of an element into the array object into the specified index. Due to a missing check on the upperbound of this index, it is possible to write out of bounds.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

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

Affected packages and fixes

stack

crates.io · All systems

Affected

  • introduced 0, fixed 0.3.1 (semver)

Fixed versions

0.3.1

Fix

  • Fixed version 0.3.1
    cargo update -p stack --precise 0.3.1

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