cve.bz

CVE-2021-32675

7.5 highEPSS 16%Fix available

High (7.5). EPSS 16% estimated probability of exploitation activity in the next 30 days.

On this page
Redis is an open source, in-memory database that persists on disk. When parsing an incoming Redis Standard Protocol (RESP) request, Redis allocates memory according to user-specified values which determine the number of elements (in the multi-bulk header) and size of each element (in the bulk header). An attacker delivering specially crafted requests over multiple connections can cause the server to allocate significant amount of memory. Because the same parsing mechanism is used to handle authentication requests, this vulnerability can also be exploited by unauthenticated users. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways: Using network access control tools like firewalls, iptables, security groups, etc. or Enabling TLS and requiring users to authenticate using client side certificates.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
16% (unchanged from 16% a week ago; 16% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32675 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32675?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32675?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32675 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redis:redisfrom 5.0.0 before 5.0.14
redis:redisfrom 6.0.0 before 6.0.16
redis:redisfrom 6.2.0 before 6.2.6
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35
debian:debian_linux10.0
debian:debian_linux11.0
oracle:communications_operations_monitor4.3
oracle:communications_operations_monitor4.4
oracle:communications_operations_monitor5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9redis3:3.2.6-3+deb9u8DLA-2810-1
Debian10redis5:5.0.14-1+deb10u1DSA-5001-1
Debian11redis5:6.0.16-1+deb11u1DSA-5001-1
Debian12, 13, 14redis5:6.0.16-1DEBIAN-CVE-2021-32675
UbuntuPro:14.04:LTSredis2:2.8.4-2ubuntu0.2+esm2UBUNTU-CVE-2021-32675 USN-5221-1
UbuntuPro:16.04:LTSredis2:3.0.6-1ubuntu0.4+esm1UBUNTU-CVE-2021-32675 USN-5221-1
UbuntuPro:18.04:LTSredis5:4.0.9-1ubuntu0.2+esm3UBUNTU-CVE-2021-32675 USN-5221-1
UbuntuPro:20.04:LTSredis5:5.0.7-2ubuntu0.1+esm1UBUNTU-CVE-2021-32675 USN-5221-1
Red Hatenterprise_linux:8::appstreamredis, redis-doc, redis-devel and 2 more0:5.0.3-5.module+el8.4.0+12927+b9845322RHSA-2021:3918
Red Hatenterprise_linux:8::appstreamredis, redis-doc, redis-devel and 2 more0:6.0.9-5.module+el8.4.0+12929+1bb0d2aaRHSA-2021:3945
Red Hatopenstack:10::el7redis, redis-debuginfo0:3.2.8-5.el7ostRHSA-2021:3971
Red Hatopenstack:13::el7redis, redis-debuginfo0:3.2.8-5.el7ostRHSA-2021:3980
Red Hatrhel_eus:8.1::appstreamredis, redis-doc, redis-devel and 2 more0:5.0.3-5.module+el8.1.0+12925+6460abefRHSA-2021:3946
Red Hatrhel_eus:8.2::appstreamredis, redis-doc, redis-devel and 2 more0:5.0.3-5.module+el8.2.0+12926+485b5fc9RHSA-2021:3944
Red Hatrhel_software_collections:3::el7rh-redis5-redis, rh-redis5-redis-debuginfo0:5.0.5-3.el7RHSA-2021:3947
SUSELinux Enterprise Module for Server Applications 15 SP2, Linux Enterprise Module for Server Applications 15 SP3redis6.0.14-6.8.1SUSE-SU-2021:3772-1
openSUSELeap 15.3redis6.0.14-6.8.1openSUSE-SU-2021:3772-1
openSUSETumbleweedredis6.2.6-1.1openSUSE-SU-2024:11563-1
AlmaLinux8redis, redis-devel5.0.3-5.module_el8.5.0+66+fc19ec12ALSA-2021:3918
AlmaLinux8redis, redis-devel6.0.9-5.module_el8.5.0+67+a3c431d9ALSA-2021:3945
AlmaLinux8redis, redis-doc, redis-devel5.0.3-5.module_el8.4.0+2583+b9845322ALSA-2021:3918
AlmaLinux8redis, redis-doc, redis-devel6.0.9-5.module_el8.4.0+2584+1bb0d2aaALSA-2021:3945
Rocky Linux8redis0:5.0.3-5.module+el8.4.0+659+cf535ef1RLSA-2021:3918
Rocky Linux8redis0:5.0.3-5.module+el8.5.0+657+2674830eRLSA-2021:3918
Rocky Linux8redis0:6.0.9-5.module+el8.4.0+660+a8447b97RLSA-2021:3945
Rocky Linux8redis0:6.0.9-5.module+el8.5.0+658+72172854RLSA-2021:3945
Alpinev3.11, v3.12redis5.0.14-r0ALPINE-CVE-2021-32675
Alpinev3.13redis6.0.16-r0ALPINE-CVE-2021-32675
Alpinev3.14, v3.15, v3.16 and 8 moreredis6.2.6-r0ALPINE-CVE-2021-32675
Azure Linux2redis6.2.6-1AZL-6848

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Prevent unauthenticated users from connecting to Redis by using network access control tools (e.g., firewalls) or enabling TLS and requiring users to authenticate using client side certificates.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8redis:5-8040020211011074037.522a0ee4Fixed 2021-10-19RHSA-2021:3918
Red Hat Enterprise Linux 8redis:6-8040020211011082941.522a0ee4Fixed 2021-10-20RHSA-2021:3945
Red Hat Enterprise Linux 8.1 Extended Update Supportredis:5-8010020211011065007.c27ad7f8Fixed 2021-10-20RHSA-2021:3946
Red Hat Enterprise Linux 8.2 Extended Update Supportredis:5-8020020211011071901.4cda2c84Fixed 2021-10-20RHSA-2021:3944
Red Hat OpenStack Platform 10.0 (Newton)redis-0:3.2.8-5.el7ostFixed 2021-10-25RHSA-2021:3971
Red Hat OpenStack Platform 13.0 - ELSredis-0:3.2.8-5.el7ostFixed 2021-10-25RHSA-2021:3980
Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUSredis-0:3.2.8-5.el7ostFixed 2021-10-25RHSA-2021:3980
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-redis5-redis-0:5.0.5-3.el7Fixed 2021-10-20RHSA-2021:3947
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-redis5-redis-0:5.0.5-3.el7Fixed 2021-10-20RHSA-2021:3947
Red Hat 3scale API Management Platform 2redisNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/redisgraph-tls-rhel8Affected
Red Hat Ansible Automation Platform 1.2redisNot affected
Red Hat Ansible Tower 3redisNot affected
Red Hat Enterprise Linux 9redisNot affected
Red Hat Software Collectionsrh-redis6-redisNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-32675.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON