# CVE-2022-36021: redis: Redis is an in-memory database that persists on disk

CVE-2022-36021 is fixed in 11 products on 1 platform, first by DEBIAN-CVE-2022-36021, released March 1, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-36021
- Priority: High
- CVSS: 7.0 (Medium)
- EPSS: 0.5977
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 1, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | redis Debian 12.15 (bookworm) | 5:7.0.9-1 | [DEBIAN-CVE-2022-36021](https://patchblox.com/security/data/fix/linux/debian-cve-2022-36021.md) | Mar 1, 2023 |
| Linux | redis Debian 13.5 (trixie) | 5:7.0.9-1 | [DEBIAN-CVE-2022-36021](https://patchblox.com/security/data/fix/linux/debian-cve-2022-36021.md) | Mar 1, 2023 |
| Linux | redis Debian 14 | 5:7.0.9-1 | [DEBIAN-CVE-2022-36021](https://patchblox.com/security/data/fix/linux/debian-cve-2022-36021.md) | Mar 1, 2023 |
| Linux | redis RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm4 | [redis 5:4.0.9-1ubuntu0.2+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-5-4.0.9-1ubuntu0.2-esm4.md) | Oct 18, 2023 |
| Linux | redis Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm2 | [redis 5:5.0.7-2ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-5-5.0.7-2ubuntu0.1-esm2.md) | Oct 18, 2023 |
| Linux | redis Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm1 | [redis 5:6.0.16-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-5-6.0.16-1ubuntu1-esm1.md) | Oct 18, 2023 |
| Linux | redis almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis rocky 8 | 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 | [RLSA-2025:0595](https://patchblox.com/security/data/fix/linux/rlsa-2025-0595.md) | Feb 13, 2025 |
| Linux | redis-devel RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-devel almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-devel ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis-doc RHEL 8 | 0:6.2.17-1.module+el8.10.0+22680+748527fd | [RHSA-2025:0595](https://patchblox.com/security/data/fix/linux/rhsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-doc almalinux 8 | 6.2.17-1.module_el8.10.0+3946+3de613d5 | [ALSA-2025:0595](https://patchblox.com/security/data/fix/linux/alsa-2025-0595.md) | Jan 22, 2025 |
| Linux | redis-doc ol 8 | 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 | [ELSA-2025-0595](https://patchblox.com/security/data/fix/linux/elsa-2025-0595.md) | Jan 23, 2025 |
| Linux | redis-sentinel Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm4 | [redis-sentinel 5:4.0.9-1ubuntu0.2+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-sentinel-5-4.0.9-1ubuntu0.2-esm4.md) | Oct 18, 2023 |
| Linux | redis-sentinel Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm2 | [redis-sentinel 5:5.0.7-2ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-sentinel-5-5.0.7-2ubuntu0.1-esm2.md) | Oct 18, 2023 |
| Linux | redis-sentinel Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm1 | [redis-sentinel 5:6.0.16-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-sentinel-5-6.0.16-1ubuntu1-esm1.md) | Oct 18, 2023 |
| Linux | redis-server Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm4 | [redis-server 5:4.0.9-1ubuntu0.2+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-server-5-4.0.9-1ubuntu0.2-esm4.md) | Oct 18, 2023 |
| Linux | redis-server Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm2 | [redis-server 5:5.0.7-2ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-server-5-5.0.7-2ubuntu0.1-esm2.md) | Oct 18, 2023 |
| Linux | redis-server Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm1 | [redis-server 5:6.0.16-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-server-5-6.0.16-1ubuntu1-esm1.md) | Oct 18, 2023 |
| Linux | redis-tools Ubuntu 18.04.6 LTS (bionic) | 5:4.0.9-1ubuntu0.2+esm4 | [redis-tools 5:4.0.9-1ubuntu0.2+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-redis-tools-5-4.0.9-1ubuntu0.2-esm4.md) | Oct 18, 2023 |
| Linux | redis-tools Ubuntu 20.04 LTS (focal) | 5:5.0.7-2ubuntu0.1+esm2 | [redis-tools 5:5.0.7-2ubuntu0.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-redis-tools-5-5.0.7-2ubuntu0.1-esm2.md) | Oct 18, 2023 |
| Linux | redis-tools Ubuntu 22.04.1 LTS (jammy) | 5:6.0.16-1ubuntu1+esm1 | [redis-tools 5:6.0.16-1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-redis-tools-5-6.0.16-1ubuntu1-esm1.md) | Oct 18, 2023 |
| Linux | redis6 amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |
| Linux | redis6-debuginfo amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |
| Linux | redis6-debugsource amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |
| Linux | redis6-devel amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |
| Linux | redis6-doc amzn 2023 | 6.2.11-1.amzn2023.0.1 | [ALAS2023-2023-154](https://patchblox.com/security/data/fix/linux/alas2023-2023-154.md) | Mar 30, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
