Input validation error in Redis - CVE-2021-32675

 

Input validation error in Redis - CVE-2021-32675

Published: October 4, 2021 / Updated: November 5, 2026


Vulnerability identifier: #VU57034
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-32675
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when processing RESP request payloads with a large number of elements on many connections. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


Affected software

Redis
Gentoo Linux
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Ubuntu
SUSE Linux Enterprise Module for Server Applications
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
redis (Debian package)
redis-server (Ubuntu package)
redis-tools (Ubuntu package)
redis (Ubuntu package)
redis (Red Hat package)
redis-doc
redis-devel
redis
rh-redis5-redis (Red Hat package)
redis5-doc
redis5-devel
redis5-debuginfo
redis5-debugsource
redis5
redis6
redis6-devel
redis6-debugsource
redis6-debuginfo
redis6-doc
redis-debuginfo
redis-debugsource
dev-db/redis
Red Hat Software Collections
Red Hat Advanced Cluster Management for Kubernetes
IBM Cloud Pak for Multicloud Management Monitoring
Red Hat OpenStack
IBM DataPower Gateway
Robotic Process Automation for Cloud Pak

How to mitigate CVE-2021-32675

Install updates from vendor's website.

Redis - addressed in versions 5.0.14, 6.0.16, 6.2.6
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.1.12, 2.3.3
IBM DataPower Gateway - addressed in versions 10.0.1.6, 10.0.4.0, 2018.4.1.19
redis (Debian package) - addressed in versions 5:5.0.14-1+deb10u1, 5:6.0.16-1+deb11u1
redis-server (Ubuntu package) - addressed in versions 2:2.8.4-2ubuntu0.2+esm2, 2:3.0.6-1ubuntu0.4+esm1
redis-tools (Ubuntu package) - addressed in versions 2:2.8.4-2ubuntu0.2+esm2, 2:3.0.6-1ubuntu0.4+esm1, 5:4.0.9-1ubuntu0.2+esm3, 5:5.0.7-2ubuntu0.1+esm1
redis (Ubuntu package) - addressed in versions 5:4.0.9-1ubuntu0.2+esm3, 5:5.0.7-2ubuntu0.1+esm1
redis (Red Hat package) - update to 3.2.8-5.el7ost
redis-doc - addressed in versions 5.0.3-5, 5.0.3-5.0.1, 6.0.9-5
redis-devel - addressed in versions 5.0.3-5, 5.0.3-5.0.1, 6.0.9-5
redis - addressed in versions 5.0.3-5, 5.0.3-5.0.1, 6.0.9-5
rh-redis5-redis (Red Hat package) - update to 5.0.5-3.el7
redis5-doc - update to 5.0.14-2
redis5-devel - update to 5.0.14-2
redis5-debuginfo - update to 5.0.14-2
redis5-debugsource - update to 5.0.14-2
redis5 - update to 5.0.14-2
redis6 - addressed in versions 6.0.11-6, 6.2.7-1
redis6-devel - addressed in versions 6.0.11-6, 6.2.7-1
redis6-debugsource - addressed in versions 6.0.11-6, 6.2.7-1
redis6-debuginfo - addressed in versions 6.0.11-6, 6.2.7-1
redis6-doc - addressed in versions 6.0.11-6, 6.2.7-1
redis - update to 6.0.14-6.8.1
redis-debuginfo - update to 6.0.14-6.8.1
redis-debugsource - update to 6.0.14-6.8.1
redis - addressed in versions 6.0.16-1.fc33, 6.2.6-1.fc34, 6.2.6-1.fc35
redis - update to 7.2.7-1
redis-debuginfo - update to 7.2.7-1
redis-debugsource - update to 7.2.7-1
Red Hat OpenStack - addressed in versions 10.0, 13.0
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.6, 23.0.7
dev-db/redis - update to 7.0.5

External References

Related Security Bulletins