RUSTSEC-2025-0030
JSON

Not scored

totally-safe-transmute allows transmuting any type to any other type in safe Rust

Severity
Not scored
Published
Last changed

Description

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.

See also https://doc.rust-lang.org/std/os/unix/io/index.html#procselfmem-and-similar-os-features

Affected

Product or packageVersionsReported by
totally-safe-transmute (crates.io)from 0.0.0-0RustSec Advisory Database

References

Sources

SourceRecordLicence
RustSec Advisory DatabaseRUSTSEC-2025-0030 changed 2025-05-06CC0-1.0