{"id":"GHSA-p7mj-xvxg-grff","aliases":["GHSA-p7mj-xvxg-grff","RUSTSEC-2021-0152"],"related":[],"kind":"vulnerability","state":"published","title":"`out_reference::Out::from_raw` should be `unsafe`","summary":"`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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"`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.","format":"markdown","source":"ghsa"}],"published":"2021-01-20T12:00:00.000Z","modified":"2023-11-08T04:21:31.675Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"0.2.0"}],"ecosystem":"crates.io","package":"out-reference","purl":"pkg:cargo/out-reference","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"0.2.0"}],"ecosystem":"crates.io","package":"out-reference","purl":"pkg:cargo/out-reference","source":"rustsec"}],"references":[{"url":"https://github.com/RustyYato/out-ref/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0152.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/out-reference","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p7mj-xvxg-grff","url":"https://github.com/advisories/GHSA-p7mj-xvxg-grff","licence":"CC-BY-4.0","modified":"2023-11-08T04:21:31.675Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0152","url":"https://rustsec.org/advisories/RUSTSEC-2021-0152.html","licence":"CC0-1.0","modified":"2023-11-08T04:21:31.675Z"}],"updatedAt":"2026-11-25T22:56:43.087Z"}