Integer overflow in Redis - CVE-2021-21309
Published: February 23, 2021 / Updated: May 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow on 32-bit systems. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
SUSE Linux Enterprise Module for Server Applications
openEuler
redis (Alpine package)
redis
redis-debuginfo
redis-debugsource
Robotic Process Automation for Cloud Pak
How to mitigate CVE-2021-21309
redis (Alpine package) - addressed in versions 5.0.11-r0, 6.0.11-r0
redis - update to 4.0.11-13
redis-debuginfo - update to 4.0.11-13
redis-debugsource - update to 4.0.11-13
redis - update to 6.0.13-1.10.1
redis-debuginfo - update to 6.0.13-1.10.1
redis-debugsource - update to 6.0.13-1.10.1
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.6, 23.0.7