Off-by-one in memcached - CVE-2023-46853

 

Off-by-one in memcached - CVE-2023-46853

Published: November 13, 2023


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

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

memcached
Amazon Linux AMI
Ubuntu
Anolis OS
memcached (Ubuntu package)
memcached
memcached-devel
memcached-selinux
memcached-doc

How to mitigate CVE-2023-46853

Install updates from vendor's website.

memcached - update to 1.6.22
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

External References

Related Security Bulletins