{"id":"GHSA-55m5-whcv-c49c","summary":"Use of Uninitialized Resource in smallvec","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.","aliases":["CVE-2018-25023","GHSA-66p5-j55p-32r9","RUSTSEC-2018-0018"],"modified":"2023-11-01T04:49:24.709547Z","published":"2022-01-06T22:20:28Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-01-06T18:40:05Z","nvd_published_at":"2021-12-27T00:15:00Z","cwe_ids":["CWE-908"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25023"},{"type":"WEB","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":"PACKAGE","url":"https://github.com/servo/rust-smallvec"},{"type":"WEB","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"}],"affected":[{"package":{"name":"smallvec","ecosystem":"crates.io","purl":"pkg:cargo/smallvec"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.13"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-55m5-whcv-c49c/GHSA-55m5-whcv-c49c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}