RUSTSEC-2021-0152
MEDIUM`out_reference::Out::from_raw` should be `unsafe`
Out::from_raw in affected versions allows writing a value to invalid memory address without requiring unsafe.
The soundness issue has been addressed by making Out::from_raw an unsafe function.
- Published
- 20 Jan 2021
- Last modified
- 8 Nov 2023
- Also known as
- GHSA-p7mj-xvxg-grff
- Sources
- OSV GHSA-p7mj-xvxg-grffJSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | out-reference | >= 0.1.0, < 0.2.0 | 0.2.0 |
References
- https://github.com/RustyYato/out-ref/issues/1 · WEB, REPORT
- https://rustsec.org/advisories/RUSTSEC-2021-0152.html · WEB, ADVISORY
- https://crates.io/crates/out-reference · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Mar 2023)