cve.bz

CVE-2022-36021 redis redis: Inefficient Algorithmic Complexity

5.5 mediumEPSS 60%Fix available

Medium (5.5) in redis redis. EPSS 60% estimated probability of exploitation activity in the next 30 days.

On this page
Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like `SCAN` or `KEYS`) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. The problem is fixed in Redis versions 6.0.18, 6.2.11, 7.0.9.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
60% (unchanged from 60% a week ago; 60% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
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-2022-36021 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-36021?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-36021?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-2022-36021 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:redisbefore 6.0.18
redis:redisfrom 6.2.0 before 6.2.11
redis:redisfrom 7.0.0 before 7.0.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10redis5:5.0.14-1+deb10u3DLA-3361-1
Debian11redis5:6.0.16-1+deb11u3DLA-3885-1
Debian12, 13, 14redis5:7.0.9-1DEBIAN-CVE-2022-36021
UbuntuPro:14.04:LTSredis2:2.8.4-2ubuntu0.2+esm3UBUNTU-CVE-2022-36021 USN-6531-1
UbuntuPro:16.04:LTSredis2:3.0.6-1ubuntu0.4+esm2UBUNTU-CVE-2022-36021 USN-6531-1
UbuntuPro:18.04:LTSredis5:4.0.9-1ubuntu0.2+esm4UBUNTU-CVE-2022-36021 USN-6531-1
UbuntuPro:20.04:LTSredis5:5.0.7-2ubuntu0.1+esm2UBUNTU-CVE-2022-36021 USN-6531-1
UbuntuPro:22.04:LTSredis5:6.0.16-1ubuntu1+esm1UBUNTU-CVE-2022-36021 USN-6531-1
Red Hatenterprise_linux:8::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.17-1.module+el8.10.0+22680+748527fdRHSA-2025:0595
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 moreredis6.0.14-150200.6.20.1SUSE-SU-2023:0693-1
SUSELinux Enterprise Module for Server Applications 15 SP4redis6.2.6-150400.3.16.1SUSE-SU-2023:0694-1
SUSELinux Enterprise Module for Server Applications 15 SP4redis6.2.6-150400.3.19.1SUSE-SU-2023:2122-1
SUSELinux Enterprise Module for Server Applications 15 SP5redis77.0.8-150500.3.3.1SUSE-SU-2023:2925-1
openSUSELeap 15.4redis6.2.6-150400.3.16.1SUSE-SU-2023:0694-1
openSUSELeap 15.4redis6.2.6-150400.3.19.1SUSE-SU-2023:2122-1
openSUSELeap 15.5redis77.0.8-150500.3.3.1SUSE-SU-2023:2925-1
openSUSETumbleweedredis7.0.8-2.1openSUSE-SU-2024:12743-1
AlmaLinux8redis, redis-doc, redis-devel6.2.17-1.module_el8.10.0+3946+3de613d5ALSA-2025:0595
Rocky Linux8redis0:6.2.17-1.module+el8.10.0+1923+5b85c6a7RLSA-2025:0595
Azure Linux2redis6.2.11-1AZL-13830

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; 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.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8redis:6-8100020250113083959.489197e6Fixed 2025-01-22RHSA-2025:0595
Red Hat Enterprise Linux 9redisNot affected
Red Hat OpenStack Platform 13 (Queens)redisOut of support scope
Red Hat Software Collectionsrh-redis6-redisWill not fix

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-2022-36021.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON