Integer overflow in Redis - CVE-2021-32761

 

Integer overflow in Redis - CVE-2021-32761

Published: July 21, 2021


Vulnerability identifier: #VU55185
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-2021-32761
CWE-ID: CWE-190
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 integer overflow in BITFIELD that affect
authenticated client connections on 32-bit versions. 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

Redis
Gentoo Linux
Fedora
redis (Debian package)
redis
dev-db/redis
Robotic Process Automation for Cloud Pak

How to mitigate CVE-2021-32761

Install updates from vendor's website.

Redis - addressed in versions 5.0.13, 6.0.15, 6.2.5
redis (Debian package) - addressed in versions 5:5.0.14-1+deb10u1, 5:6.0.16-1+deb11u1
redis - addressed in versions 6.0.15-1.fc33, 6.2.5-1.fc34
dev-db/redis - update to 7.0.5
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.6, 23.0.7

External References

Related Security Bulletins