ghsa-55m5-whcv-c49c
Vulnerability from github
Published
2022-01-06 22:20
Modified
2023-06-13 20:53
Severity ?
VLAI Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "crates.io", "name": "smallvec" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.6.13" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2018-25023" ], "database_specific": { "cwe_ids": [ "CWE-908" ], "github_reviewed": true, "github_reviewed_at": "2022-01-06T18:40:05Z", "nvd_published_at": "2021-12-27T00:15:00Z", "severity": "HIGH" }, "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.", "id": "GHSA-55m5-whcv-c49c", "modified": "2023-06-13T20:53:48Z", "published": "2022-01-06T22:20:28Z", "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" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "type": "CVSS_V3" } ], "summary": "Use of Uninitialized Resource in smallvec" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…