Buffer overflow in memcached - CVE-2023-46852
Published: November 13, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the proxy_run_coroutine() function in proto_proxy.c when processing multiget requests with multiple spaces in proxy mode. A remote attacker can send a specially crafted HTTP request to trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Ubuntu
Anolis OS
memcached (Ubuntu package)
memcached
memcached-devel
memcached-selinux
memcached-doc
How to mitigate CVE-2023-46852
memcached (Ubuntu package) - addressed in versions 1.6.14-1ubuntu0.1, 1.6.18-1ubuntu0.1, 1.6.21-1ubuntu0.23.10.1
memcached - update to 1.6.22-1
memcached-devel - update to 1.6.22-1
memcached-selinux - update to 1.6.22-1
memcached-doc - update to 1.6.22-1
memcached - update to 1.6.22-2