{ "schema_version": "1.4.0", "id": "GHSA-2v78-j59h-fmpf", "modified": "2023-06-13T21:04:31Z", "published": "2021-08-25T20:43:23Z", "aliases": [ "CVE-2018-21000" ], "summary": "Heap overflow or corruption in safe-transmute", "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "safe-transmute" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0.4.0" }, { "fixed": "0.10.1" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-21000" }, { "type": "WEB", "url": "https://github.com/nabijaczleweli/safe-transmute-rs/pull/36" }, { "type": "WEB", "url": "https://github.com/nabijaczleweli/safe-transmute-rs/commit/a134e06d740f9d7c287f74c0af2cd06206774364" }, { "type": "PACKAGE", "url": "https://github.com/nabijaczleweli/safe-transmute-rs" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2018-0013.html" } ], "database_specific": { "cwe_ids": [ "CWE-119" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2021-08-19T21:24:31Z", "nvd_published_at": null } }