GHSA-p7mj-xvxg-grff
JSON

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 packageVersionsReported by
out-reference (crates.io)from 0.1.0 before 0.2.0GitHub Advisory Database, RustSec Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-p7mj-xvxg-grff changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2021-0152 changed 2023-11-08CC0-1.0