🛡️ CVE-2018-25023 — smallvec
Description
smallvec creates uninitialized value of any type
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.
Weakness class
CVE-2018-25023 is classified as CWE-908: Use of Uninitialized Resource. A resource is read before being initialised, so its contents are whatever was left there.
Affected software
CVE-2018-25023 is recorded against 1 package.
- smallvec
Timeline and source
Published on 6 January 2022 and last revised on 8 November 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
raw.githubusercontent.com (Web)
rustsec.org (Web)
CVE-2018-25023 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| smallvec | — | — |
References
Similar Threats
- Critical CVE-2021-25900
- Critical CVE-2018-20991
- Critical CVE-2019-15551
- Critical CVE-2019-15554
More CVE 2018 advisories
Browse all of CVE 2018 in the advisory index.
Site Security Check
Is smallvec part of your stack?
CVE-2018-25023 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.