CVE-2016-8339 Memory corruption in Redis

Medium 6.6 Published Updated

A buffer overflow in Redis allows remote attackers to execute arbitrary code via a crafted CONFIG SET command.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-8339?

CVE-2016-8339 is a medium-severity memory corruption vulnerability in Redis, published on 28 Oct 2016. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent. An out of bounds write vulnerability exists in the handling of the client-output-buffer-limit option during the CONFIG SET command for the Redis data structure store. A crafted CONFIG SET command can lead to an out of bounds write potentially resulting in code execution.

Weakness: CWE-787

Which versions are affected by CVE-2016-8339?

It affects 1 product.

Products include Redislabs Redis.

How do I fix CVE-2016-8339?

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-2016-8339 being exploited?

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

Sources

Also known as DEBIAN-CVE-2016-8339, GHSA-33p7-cjfg-8vc5.

Is CVE-2016-8339 in your software?

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

Check your SBOMs for free