Advisory

GHSA-rh89-x75f-rh3c

Also known as: CVE-2019-15553, RUSTSEC-2019-0011

Summary

Exposure of uninitialized memory in memoffset

Details

Affected versions of this crate caused traps and/or memory unsafety by zero-initializing references. They also could lead to uninitialized memory being dropped if the field for which the offset is requested was behind a deref coercion, and that deref coercion caused a panic. The flaw was corrected by using MaybeUninit.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:44 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

memoffset

crates.io · All systems

Affected

  • introduced 0, fixed 0.5.0 (semver)

Fixed versions

0.5.0

Fix

  • Fixed version 0.5.0
    cargo update -p memoffset --precise 0.5.0

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