# CVE-2022-24834: redis: Redis is an advanced key-value store

CVE-2022-24834 is fixed in 12 products on 1 platform, first by lua-cjson 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2, released July 13, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-24834
- Priority: High
- CVSS: 8.8 (Important)
- EPSS: 0.4141
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 13, 2023

## Description

Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.  Security Fix(es):  * redis: Integer overflow in the Redis HRANDFIELD and ZRANDMEMBER commands may lead to denial-of-service (CVE-2023-22458)  * redis: Integer overflow in the Redis SETRANGE and SORT/SORT_RO commands may result with false OOM panic (CVE-2022-35977)  * redis: Specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands can trigger an integer overflow (CVE-2022-36021)  * redis: String matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack (CVE-2023-25155)  * redis: Insufficient validation of HINCRBYFLOAT command (CVE-2023-28856)  * redis: heap overflow in the lua cjson and cmsgpack libraries (CVE-2022-24834)  * redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)  * redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)  * redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)  * redis: Redis' Lua library commands may lead to remote code execution (CVE-2024-46981)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | lua-cjson Ubuntu 20.04 LTS (focal) | 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2 | [lua-cjson 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-lua-cjson-2.1.0-dfsg-2.1ubuntu0.20.04.1-esm2.md) | Jul 13, 2023 |
| Linux | lua-cjson Ubuntu 22.04.1 LTS (jammy) | 2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2 | [lua-cjson 2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-lua-cjson-2.1.0-dfsg-2.1ubuntu0.22.04.1-esm2.md) | Jul 13, 2023 |
| Linux | redis Debian 11.6 (bullseye) | 5:6.0.16-1+deb11u3 | [DLA-3885-1](https://patchblox.com/security/data/fix/linux/dla-3885-1.md) | Sep 10, 2024 |
| Linux | redis Debian 12.15 (bookworm) | 5:7.0.15-1~deb12u1 | [DSA-5610-1](https://patchblox.com/security/data/fix/linux/dsa-5610-1.md) | Jan 29, 2024 |
| Linux | redis Debian 13.5 (trixie) | 5:7.0.12-1 | [DEBIAN-CVE-2022-24834](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24834.md) | Jul 13, 2023 |
| Linux | redis Debian 14 | 5:7.0.12-1 | [DEBIAN-CVE-2022-24834](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24834.md) | Jul 13, 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 RHEL 9 | 0:6.2.17-1.el9_5 | [RHSA-2025:0693](https://patchblox.com/security/data/fix/linux/rhsa-2025-0693.md) | Jan 27, 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 almalinux 9 | 6.2.17-1.el9_5 | [ALSA-2025:0693](https://patchblox.com/security/data/fix/linux/alsa-2025-0693.md) | Jan 27, 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 ol 9 | 0:6.2.17-1.el9_5 | [ELSA-2025-0693](https://patchblox.com/security/data/fix/linux/elsa-2025-0693.md) | Jan 28, 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 rocky 9 | 0:6.2.17-1.el9_5 | [RLSA-2025:0693](https://patchblox.com/security/data/fix/linux/rlsa-2025-0693.md) | Mar 17, 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 RHEL 9 | 0:6.2.17-1.el9_5 | [RHSA-2025:0693](https://patchblox.com/security/data/fix/linux/rhsa-2025-0693.md) | Jan 27, 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 almalinux 9 | 6.2.17-1.el9_5 | [ALSA-2025:0693](https://patchblox.com/security/data/fix/linux/alsa-2025-0693.md) | Jan 27, 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-devel ol 9 | 0:6.2.17-1.el9_5 | [ELSA-2025-0693](https://patchblox.com/security/data/fix/linux/elsa-2025-0693.md) | Jan 28, 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 RHEL 9 | 0:6.2.17-1.el9_5 | [RHSA-2025:0693](https://patchblox.com/security/data/fix/linux/rhsa-2025-0693.md) | Jan 27, 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 almalinux 9 | 6.2.17-1.el9_5 | [ALSA-2025:0693](https://patchblox.com/security/data/fix/linux/alsa-2025-0693.md) | Jan 27, 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-doc ol 9 | 0:6.2.17-1.el9_5 | [ELSA-2025-0693](https://patchblox.com/security/data/fix/linux/elsa-2025-0693.md) | Jan 28, 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.13-1.amzn2023.0.1 | [ALAS2023-2023-291](https://patchblox.com/security/data/fix/linux/alas2023-2023-291.md) | Aug 3, 2023 |
| Linux | redis6-debuginfo amzn 2023 | 6.2.13-1.amzn2023.0.1 | [ALAS2023-2023-291](https://patchblox.com/security/data/fix/linux/alas2023-2023-291.md) | Aug 3, 2023 |
| Linux | redis6-debugsource amzn 2023 | 6.2.13-1.amzn2023.0.1 | [ALAS2023-2023-291](https://patchblox.com/security/data/fix/linux/alas2023-2023-291.md) | Aug 3, 2023 |
| Linux | redis6-devel amzn 2023 | 6.2.13-1.amzn2023.0.1 | [ALAS2023-2023-291](https://patchblox.com/security/data/fix/linux/alas2023-2023-291.md) | Aug 3, 2023 |
| Linux | redis6-doc amzn 2023 | 6.2.13-1.amzn2023.0.1 | [ALAS2023-2023-291](https://patchblox.com/security/data/fix/linux/alas2023-2023-291.md) | Aug 3, 2023 |

---

Data as of 2026-11-08T06:59:42Z 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.
