NULL pointer dereference in memcached - CVE-2019-11596

 

NULL pointer dereference in memcached - CVE-2019-11596

Published: April 29, 2019


Vulnerability identifier: #VU18374
CSH Severity: Medium
CVSS v4.0: 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/E:P/U:Green
CVE-ID: CVE-2019-11596
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Memcached
Affected software:
memcached

Detailed vulnerability description

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

The vulnerability exists due to a NULL pointer dreference error in the "lru mode" and "lru temp_ttl" commands when parsing specially crafted lru command messages passed passed to process_lru_command() function in memcached.c. A remote attacker can send a specially crafted HTTP request to the affected application and perform denial of service (DoS) attack.

Exploitation example:

echo -n "bHJ1IG1vZGUKb7G0AGxydWRl6gdtTk9UXw==" | base64 -d | nc 127.0.0.1 11211


How to mitigate CVE-2019-11596

Install update from vendor's website.

Sources