Advisory

GHSA-2v78-j59h-fmpf

Also known as: CVE-2018-21000, RUSTSEC-2018-0013

Summary

Heap overflow or corruption in safe-transmute

Details

Affected versions of this crate switched the length and capacity arguments in the Vec::from_raw_parts() constructor, which could lead to memory corruption or data leakage.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:43 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

safe-transmute

crates.io · All systems

Affected

  • introduced 0.4.0, fixed 0.10.1 (semver)

Fixed versions

0.10.1

Fix

  • Fixed version 0.10.1
    cargo update -p safe-transmute --precise 0.10.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