CVE-2022-36021 MEDIUM

CVE-2022-36021: Redis string pattern matching can be abused to achieve Denial of Service

Vendor Redis
Product redis
Weakness CWE-407
Published March 1, 2023
Last update March 7, 2025

CVSS base score

5.5/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 1, 2023 CVE published
March 7, 2025 Record updated