PT-2025-19819 · Crates.Io · Totally-Safe-Transmute
Published
2025-02-10
·
Updated
2025-02-10
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
This crate is a toy and should never be used.
It showcases a known soundness issue (https://github.com/rust-lang/rust/issues/32670) that will never get fixed. In short, Linux provides a file called
/proc/self/mem which can be used by a program to modify its own memory. This library modifies an enum variant number by accessing its own memory as a file to effectively transmute a variable. Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Totally-Safe-Transmute