CVE-2022-36021
MEDIUM5.5EPSS 60.6%Redis string pattern matching can be abused to achieve Denial of Service
Published: 3/1/2023Modified: 4/28/2026
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 packages (5)
- Bitnami/keydbfrom 0, < 6.0.18, >= 6.2.0, < 6.2.11, >= 7.0.0, < 7.0.9
- Bitnami/redisfrom 0, < 6.0.18, >= 6.2.0, < 6.2.11, >= 7.0.0, < 7.0.9
- Bitnami/valkeyfrom 0, < 6.0.18, >= 6.2.0, < 6.2.11, >= 7.0.0, < 7.0.9
- Debian/redisfrom 0, < 5:6.0.16-1+deb11u3
- Debian/redisfrom 0, < 5:5.0.14-1+deb10u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |