{"id":"RUSTSEC-2021-0152","summary":"`out_reference::Out::from_raw` should be `unsafe`","details":"`Out::from_raw` in affected versions allows writing a value to invalid memory address without requiring `unsafe`.\n\nThe soundness issue has been addressed by making `Out::from_raw` an unsafe function.","aliases":["GHSA-p7mj-xvxg-grff"],"modified":"2023-11-08T04:21:31.675352Z","published":"2021-01-20T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/out-reference"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0152.html"},{"type":"REPORT","url":"https://github.com/RustyYato/out-ref/issues/1"}],"affected":[{"package":{"name":"out-reference","ecosystem":"crates.io","purl":"pkg:cargo/out-reference"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.2.0"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":["out_reference::Out::from_raw"]},"affected_functions":null},"database_specific":{"categories":["memory-corruption"],"informational":"unsound","cvss":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0152.json"}}],"schema_version":"1.7.3"}