What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Redis 6.0.18, 6.2.11, 7.0.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-36021 or the next vulnerability affects your stack