mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-13 21:18:11 +01:00
* `out_reference::Out::from_raw` should be `unsafe` * Update crates/out-reference/RUSTSEC-0000-0000.md Adjust date when it was reported * Minor fix --------- Co-authored-by: pinkforest(she/her) <36498018+pinkforest@users.noreply.github.com>
638 B
638 B
[advisory]
id = "RUSTSEC-0000-0000"
package = "out-reference"
date = "2021-01-20"
url = "https://github.com/RustyYato/out-ref/issues/1"
informational = "unsound"
categories = ["memory-corruption"]
keywords = ["unsound", "raw-pointer"]
[versions]
patched = [">= 0.2.0"]
unaffected = ["< 0.1.0"]
[affected.functions]
"out_reference::Out::from_raw" = [">= 0.1.0, < 0.2.0"]
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.