GHSA-p7mj-xvxg-grff
medium
`out_reference::Out::from_raw` should be `unsafe`
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2021-0152
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| out-reference (crates.io) | from 0.1.0 before 0.2.0 | GitHub Advisory Database, RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-p7mj-xvxg-grff changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2021-0152 changed 2023-11-08 | CC0-1.0 |