#VU83025 Buffer overflow in memcached


Published: 2023-11-13

Vulnerability identifier: #VU83025

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-46852

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
memcached
Server applications / Web servers

Vendor: Memcached

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

memcached: 1.0.0 - 1.6.21


External links
http://github.com/memcached/memcached/commit/76a6c363c18cfe7b6a1524ae64202ac9db330767
http://github.com/memcached/memcached/compare/1.6.21...1.6.22


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability