CVE-2018-25023 Use of Uninitialized Resource in smallvec
The smallvec Rust library allows creating uninitialized values, potentially leading to memory corruption, crashes, or arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-25023?
CVE-2018-25023 is a high-severity memory corruption vulnerability in n/a, published on 26 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the smallvec crate before 0.6.13 for Rust. It can create an uninitialized value of any type, including a reference type.
Weakness: CWE-908
Which versions are affected by CVE-2018-25023?
5 open source packages ship an affected version, including smallvec. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
smallvec crates.io | All versions | 0.6.13 |
smallvec crates.io | All versions | 0.6.13 |
smallvec crates.io | All versions | 0.6.13 |
smallvec crates.io | All versions | 0.6.13 |
smallvec crates.io | From 0.0.0-0 | 0.6.13 |
Products include Servo Smallvec.
How do I fix CVE-2018-25023?
Upgrade smallvec to 0.6.13 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-25023 being exploited?
There is no known exploitation of CVE-2018-25023 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2018-25023, GHSA-55m5-whcv-c49c, GHSA-66p5-j55p-32r9, RUSTSEC-2018-0018, UBUNTU-CVE-2018-25023.