CVE-2018-20995 Memory corruption slice-deque
Attackers can trigger memory corruption in the slice-deque Rust library, potentially leading to code execution or crashes.
- 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-20995?
CVE-2018-20995 is a critical memory corruption vulnerability in n/a, published on 26 Aug 2019. 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 slice-deque crate before 0.1.16 for Rust. move_head_unchecked allows memory corruption because deque updates are mishandled.
Weakness: CWE-119
Which versions are affected by CVE-2018-20995?
3 open source packages ship an affected version, including slice-deque. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
slice-deque crates.io | All versions | 0.1.16 |
slice-deque crates.io | All versions | 0.1.16 |
slice-deque crates.io | From 0.0.0-0 | 0.1.16 |
Products include Slice-Deque Project Slice-Deque.
How do I fix CVE-2018-20995?
Upgrade slice-deque to 0.1.16 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-20995 being exploited?
There is no known exploitation of CVE-2018-20995 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-hr3c-6mmp-6m39, RUSTSEC-2018-0008.