CVE-2022-36021

published 1 Mar 2023 · updated 7 Mar 2025

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

6.5MediumCVSS 5.5EPSS 60%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 60%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Redisredis<6.0.18, >=6.2.0 <6.2.11, >=7.0.0 <7.0.9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Redis, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-36021 severity on Zeptric[![CVE-2022-36021](https://zeptric.io/badge/cve/CVE-2022-36021.svg)](https://zeptric.io/cve/CVE-2022-36021)