{"id":"RUSTSEC-2024-0374","summary":"Segmentation fault due to use of uninitialized memory","details":"When trying to decompress a file using \"ouch\", we can reach the function \"ouch::archive::zip::convert_zip_date_time\".\nIn the function, there is a unsafe function, \"transmute\". Once the \"transmute\" function is called to convert the type of \"month\" object,\nthe address of the object is changed to the uninitialized memory region. \nAfter that, when other function tries to dereference \"month\", segmentation fault occurs.","aliases":["GHSA-2wq5-g96f-mv3v"],"modified":"2025-10-28T06:29:22.652610Z","published":"2024-09-22T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/ouch"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2024-0374.html"},{"type":"REPORT","url":"https://github.com/ouch-org/ouch/issues/707"}],"affected":[{"package":{"name":"ouch","ecosystem":"crates.io","purl":"pkg:cargo/ouch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.2-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"os":[],"functions":["ouch::archive::zip::convert_zip_date_time"]}},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0374.json","cvss":null,"informational":null,"categories":["memory-corruption"]}}],"schema_version":"1.7.3"}