原始 OSV JSON{
"id": "GHSA-55m5-whcv-c49c",
"aliases": [
"CVE-2018-25023"
],
"details": "Affected versions of this crate called mem::uninitialized() to create values of a user-supplied type T. This is unsound e.g. if T is a reference type (which must be non-null and thus may not remain uninitialized). The flaw was corrected by avoiding the use of mem::uninitialized(), using MaybeUninit instead.",
"summary": "Use of Uninitialized Resource in smallvec",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.13"
}
]
}
],
"package": {
"name": "smallvec",
"ecosystem": "crates.io"
}
}
],
"modified": "2023-06-13T20:53:48Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"published": "2022-01-06T22:20:28Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-25023",
"type": "ADVISORY"
},
{
"url": "https://github.com/servo/rust-smallvec/issues/126",
"type": "WEB"
},
{
"url": "https://github.com/servo/rust-smallvec/pull/162",
"type": "WEB"
},
{
"url": "https://github.com/servo/rust-smallvec/commit/e64afc8c473d43e375ab42bd33db2d0d4ac4e41b",
"type": "WEB"
},
{
"url": "https://github.com/servo/rust-smallvec",
"type": "PACKAGE"
},
{
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/smallvec/RUSTSEC-2018-0018.md",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2018-0018.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-908"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-12-27T00:15:00Z",
"github_reviewed_at": "2022-01-06T18:40:05Z"
}
}