原始 OSV JSON{
"id": "GHSA-2v78-j59h-fmpf",
"aliases": [
"CVE-2018-21000"
],
"details": "Affected versions of this crate switched the length and capacity arguments in the Vec::from_raw_parts() constructor, which could lead to memory corruption or data leakage.",
"summary": "Heap overflow or corruption in safe-transmute",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.4.0"
},
{
"fixed": "0.10.1"
}
]
}
],
"package": {
"name": "safe-transmute",
"ecosystem": "crates.io"
}
}
],
"modified": "2023-06-13T21:04:31Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2021-08-25T20:43:23Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-21000",
"type": "ADVISORY"
},
{
"url": "https://github.com/nabijaczleweli/safe-transmute-rs/pull/36",
"type": "WEB"
},
{
"url": "https://github.com/nabijaczleweli/safe-transmute-rs/commit/a134e06d740f9d7c287f74c0af2cd06206774364",
"type": "WEB"
},
{
"url": "https://github.com/nabijaczleweli/safe-transmute-rs",
"type": "PACKAGE"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2018-0013.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-119"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2021-08-19T21:24:31Z"
}
}