CVE-2022-36021
JSON

5.5medium

Redis string pattern matching can be abused to achieve Denial of Service

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
59.8% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-KEYDB-2022-36021BIT-REDIS-2022-36021BIT-VALKEY-2022-36021GHSA-jr7j-rfj5-8xqv

Description

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.

Affected

Product or packageVersionsReported by
redis redis< 6.0.18, >= 6.2.0, < 6.2.11, >= 7.0.0, < 7.0.9, before 6.0.18, from 6.2.0 before 6.2.11, from 7.0.0 before 7.0.9CVE List, NVD
keydb (Bitnami)before 6.0.18, from 6.2.0 before 6.2.11, from 7.0.0 before 7.0.9Bitnami Vulnerability Database
redis (Bitnami)before 6.0.18, from 6.2.0 before 6.2.11, from 7.0.0 before 7.0.9Bitnami Vulnerability Database
valkey (Bitnami)before 6.0.18, from 6.2.0 before 6.2.11, from 7.0.0 before 7.0.9Bitnami Vulnerability Database

All scores

GitHub_M5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

CWE-407

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-36021 changed 2025-03-07CVE Terms of Use
NVDCVE-2022-36021 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-KEYDB-2022-36021 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-REDIS-2022-36021 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-VALKEY-2022-36021 changed 2025-10-14Apache-2.0