Files
advisory-db/packages/out-reference.json
2025-10-27 16:49:06 +00:00

71 lines
1.8 KiB
JSON

[
{
"id": "RUSTSEC-2021-0152",
"modified": "2023-06-13T13:10:24Z",
"published": "2021-01-20T12:00:00Z",
"aliases": [
"GHSA-p7mj-xvxg-grff"
],
"related": [],
"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`.\n\nThe soundness issue has been addressed by making `Out::from_raw` an unsafe function.",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "out-reference",
"purl": "pkg:cargo/out-reference"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": [
"out_reference::Out::from_raw"
]
},
"affected_functions": null
},
"database_specific": {
"categories": [
"memory-corruption"
],
"cvss": null,
"informational": "unsound"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.1.0"
},
{
"fixed": "0.2.0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/out-reference"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0152.html"
},
{
"type": "REPORT",
"url": "https://github.com/RustyYato/out-ref/issues/1"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]