Buffer over-read in memcached - CVE-2017-9951

 

Buffer over-read in memcached - CVE-2017-9951

Published: March 5, 2018 / Updated: March 20, 2018


Vulnerability identifier: #VU10898
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-9951
CWE-ID: CWE-126
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error in the try_read_command function in memcached.c in memcached before 1.4.39. A remote attacker can perform 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.

The vulnerability is dubbed Twistlock.

Affected software

memcached
Debian Linux
SUSE Linux
Ubuntu
Fedora
memcached (Alpine package)
memcached

How to mitigate CVE-2017-9951

Update to version 1.4.39

memcached (Alpine package) - update to 1.4.33-r1
memcached - addressed in versions 1.4.39-1.fc25, 1.4.39-1.fc26

External References

Related Security Bulletins