CVE-2017-9951 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service via a heap-based buffer over-read in memcached when adding or setting keys.

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

What is CVE-2017-9951?

CVE-2017-9951 is a high-severity memory corruption vulnerability in n/a, published on 17 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The try_read_command function in memcached.c in memcached before 1.4.39 allows remote attackers to cause a denial of service (segmentation fault) via a request to add/set a key, which makes a comparison between signed and unsigned int and triggers a heap-based buffer over-read. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-8705.

Which versions are affected by CVE-2017-9951?

It affects 1 product.

Linux distribution packages (6)
memcached SUSE:Linux Enterprise Server 12 SP2All versions1.4.39-4.3.1
memcached SUSE:Linux Enterprise Server 12 SP3All versions1.4.39-4.3.1
memcached SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions1.4.39-4.3.1
memcached SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions1.4.39-4.3.1
memcached SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions1.4.39-4.3.1
memcached SUSE:Linux Enterprise Software Development Kit 12 SP2All versions1.4.39-4.3.1

Products include Memcached Memcached.

How do I fix CVE-2017-9951?

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-2017-9951 being exploited?

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

Sources

Also known as ALPINE-CVE-2017-9951, DEBIAN-CVE-2017-9951, DLA-1033-1, GHSA-vpcm-5gwm-79h2, MGASA-2017-0441, SUSE-SU-2018:0839-1 and 1 more.

Is CVE-2017-9951 in your software?

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

Check your SBOMs for free