Heap-based buffer overflow in Redis - CVE-2023-41056

 

Heap-based buffer overflow in Redis - CVE-2023-41056

Published: January 9, 2024 / Updated: January 9, 2024


Vulnerability identifier: #VU85169
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-41056
CWE-ID: CWE-122
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 a boundary error when resizing memory buffers. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Redis
Debian Linux
Amazon Linux AMI
Gentoo Linux
Anolis OS
Fedora
Oracle Communications Operations Monitor
Storage Protect Plus Container Agent
Oracle Communications Cloud Native Core Network Repository Function
Oracle Communications Cloud Native Core Network Data Analytics Function
redis6
redis
redis-devel
redis-doc
redis (Debian package)
dev-db/redis

How to mitigate CVE-2023-41056

Install updates from vendor's website.

Redis - addressed in versions 7.0.15, 7.2.4
redis6 - update to 6.2.14-1
redis - update to 7.0.15-1
redis-devel - update to 7.0.15-1
redis-doc - update to 7.0.15-1
redis - addressed in versions 7.0.15-1.fc38, 7.2.4-1.fc39
redis (Debian package) - update to 5:7.0.15-1~deb12u1
dev-db/redis - update to 7.2.4
Storage Protect Plus Container Agent - update to 10.1.12.7

External References

Related Security Bulletins