CVE-2017-9951Improper Restriction of Operations within the Bounds of a Memory Buffer in Memcached

Severity
7.5HIGHNVD
OSV9.8
EPSS
1.7%
top 17.82%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJul 17
Latest updateMay 13

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages4 packages

debiandebian/memcached< memcached 1.5.0-1 (bookworm)
Debianmemcached/memcached< 1.5.0-1+3
Ubuntumemcached/memcached< 1.4.14-0ubuntu9.2+1

🔴Vulnerability Details

3
GHSA
GHSA-vpcm-5gwm-79h2: The try_read_command function in memcached2022-05-13
OSV
memcached vulnerabilities2018-03-05
OSV
CVE-2017-9951: The try_read_command function in memcached2017-07-17

📋Vendor Advisories

3
Ubuntu
Memcached vulnerabilities2018-03-05
Red Hat
memcached: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705)2017-07-17
Debian
CVE-2017-9951: memcached - The try_read_command function in memcached.c in memcached before 1.4.39 allows r...2017

💬Community

3
Bugzilla
Fix CVE-2017-9951, multiple bugfixes, performance enhancements2018-06-25
Bugzilla
CVE-2017-9951 memcached: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705)2017-07-17
Bugzilla
CVE-2017-9951 memcached: Heap-based buffer over-read in try_read_command function (incomplete fix for CVE-2016-8705) [fedora-all]2017-07-17