{"id":"RUSTSEC-2025-0030","aliases":[],"status":"published","title":"totally-safe-transmute allows transmuting any type to any other type in safe Rust","description":"This crate is a toy and should never be used.\n\nIt 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.\n\nSee also \u003chttps://doc.rust-lang.org/std/os/unix/io/index.html#procselfmem-and-similar-os-features\u003e","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2025-02-10T12:00:00Z","modified":"2025-05-06T20:14:30Z","affected":[{"source":"osv","ecosystem":"crates.io","package":"totally-safe-transmute","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}]}],"references":[{"url":"https://crates.io/crates/totally-safe-transmute","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0030.html","tags":["advisory"]},{"url":"https://github.com/ben0x539/totally-safe-transmute","tags":["web"]}],"sources":{"osv":[{"id":"RUSTSEC-2025-0030","title":"totally-safe-transmute allows transmuting any type to any other type in safe Rust","description":"This crate is a toy and should never be used.\n\nIt 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.\n\nSee also \u003chttps://doc.rust-lang.org/std/os/unix/io/index.html#procselfmem-and-similar-os-features\u003e","status":"published","published":"2025-02-10T12:00:00Z","modified":"2025-05-06T20:14:30Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
