CVE-2018-20995 Memory corruption slice-deque

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
slice-deque crates.ioAll versions0.1.16
slice-deque crates.ioAll versions0.1.16
slice-deque crates.ioFrom 0.0.0-00.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.

Sources

Also known as GHSA-hr3c-6mmp-6m39, RUSTSEC-2018-0008.

Is CVE-2018-20995 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free