CVEfocus › CVE database › CVE-2017-9951

CVE-2017-9951

CVSS 7.5 HighEPSS 4.2% (higher than 91% of CVEs)Published 2017-07-17Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04memcachedFixed1.4.25-2ubuntu1.3UBUNTU-CVE-2017-9951
Ubuntu 14.04memcachedFixed1.4.14-0ubuntu9.2UBUNTU-CVE-2017-9951
Debian 14memcachedFixed1.5.0-1DEBIAN-CVE-2017-9951
Debian 13memcachedFixed1.5.0-1DEBIAN-CVE-2017-9951
Debian 12memcachedFixed1.5.0-1DEBIAN-CVE-2017-9951
Red Hat Enterprise Linux 7memcachedWill not fix
Will not fix
Red Hat Enterprise Linux 7memcached-develWill not fix
Will not fix
Red Hat Enterprise Linux 6memcachedWill not fix
Will not fix
Red Hat Enterprise Linux 6memcached-develWill not fix
Will not fix
Alpine Linux 3.6memcachedFixed1.4.36-r1ALPINE-CVE-2017-9951
Alpine Linux 3.5memcachedFixed1.4.33-r1ALPINE-CVE-2017-9951
Alpine Linux 3.4memcachedFixed1.4.33-r1ALPINE-CVE-2017-9951
Alpine Linux 3.3memcachedFixed1.4.33-r1ALPINE-CVE-2017-9951

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.