RUSTSEC-2021-0152

Source
https://rustsec.org/advisories/RUSTSEC-2021-0152
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0152.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0152
Aliases
Published
2021-01-20T12:00:00Z
Modified
2023-11-08T04:21:31.675352Z
Summary
`out_reference::Out::from_raw` should be `unsafe`
Details

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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / out-reference

Package

Name
out-reference
View open source insights on deps.dev
Purl
pkg:cargo/out-reference

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0
Fixed
0.2.0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "out_reference::Out::from_raw"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": "unsound",
    "categories": [
        "memory-corruption"
    ]
}