Off-by-one in memcached - CVE-2023-46853
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 an off-by-one error in proxy_request.c. A remote attacker can send a specially crafted HTTP request to the proxy server, trigger an off-by-one error 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-46853
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