CVE-2018-12326 Memory corruption in n/a

High 8.4 Published Updated

A buffer overflow in the Redis command-line interface allows attackers to execute arbitrary code and escalate privileges via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-12326?

CVE-2018-12326 is a high-severity memory corruption vulnerability in n/a, published on 17 Jun 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source.

Weakness: CWE-119

Which versions are affected by CVE-2018-12326?

It affects 1 product.

Products include Redislabs Redis.

How do I fix CVE-2018-12326?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-12326 being exploited?

There is no known exploitation of CVE-2018-12326 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2018-12326, GHSA-8829-5g6p-wqm9, UBUNTU-CVE-2018-12326.

Is CVE-2018-12326 in your software?

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

Check your SBOMs for free