Skip to content
Fencer Vulns
low 3.3

CVE-2022-24736 json

A Malformed Lua script can crash Redis

published 2022-04-27 4 y ago modified 2026-09-08 2 mo ago also BIT-keydb-2022-24736 , BIT-redis-2022-24736 , BIT-valkey-2022-24736 , EUVD-2022-29583 , GHSA-3qpw-7686-5984

cvss
3.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 74%
public exploits
0
none known

Summary

Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.

Patch / fix

  • bitnami keydb 6.2.7
  • bitnami redis 6.2.7
  • bitnami valkey 6.2.7
  • redis redis 6.2.7
  • redis Debian 14, Debian 13, Debian 12 5:7.0.1-4

debian advisories DEBIAN-CVE-2022-24736

  • redis RHEL 8 6.2.7-1.module+el8.7.0+15197+cc495aeb
  • redis RHEL 9 6.2.7-1.el9

red hat advisories RHSA-2022:7541RHSA-2022:8096

  • redis SLE Module for Server Applications 15 SP4, openSUSE Leap 15.4 6.2.6-150400.3.3.7
  • redis SLE Module for Server Applications 15 SP3, openSUSE Leap 15.3 6.0.14-150200.6.11.1

suse advisories SUSE-SU-2022:1929-1SUSE-SU-2022:1842-1

  • redis openSUSE Tumbleweed 6.2.7-1.1

opensuse advisories openSUSE-SU-2024:12030-1

  • redis AlmaLinux 9 6.2.7-1.el9
  • redis AlmaLinux 8 6.2.7-1.module_el8.7.0+3288+a82c1b48

almalinux advisories ALSA-2022:8096ALSA-2022:7541

  • redis Rocky Linux 9 6.2.7-1.el9
  • redis Rocky Linux 8 6.2.7-1.module+el8.7.0+1105+8815ce78

rocky linux advisories RLSA-2022:8096RLSA-2022:7541

  • redis Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 6.2.7-r0

alpine advisories ALPINE-CVE-2022-24736

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • redis CBL-Mariner 2.0 6.2.7-1

azure linux advisories AZL-9599

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-24736 updated cvss 3.3

redis: Malformed Lua script can crash Redis

  • Red Hat 3scale API Management Platform 2 redis Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-api-rhel8, rhacm2/redisgraph-tls-rhel8 Red Hat Ansible Automation Platform 1.2 redis Red Hat Ansible Tower 3 redis Red Hat Enterprise Linux 8 redis Red Hat Fuse 7 io.hawt-hawtio-integration io.hawt-hawtio-integration
    affected: workaround, no fix available “If Lua scripting is not being used, this vulnerability can be mitigated by preventing access to SCRIPT LOAD and EVAL commands using ACL rules.”
  • Red Hat OpenStack Platform 13 (Queens) redis
    affected: workaround, no fix planned “If Lua scripting is not being used, this vulnerability can be mitigated by preventing access to SCRIPT LOAD and EVAL commands using ACL rules.”
  • Red Hat Software Collections rh-redis5-redis, rh-redis6-redis
    affected: workaround, no fix available “If Lua scripting is not being used, this vulnerability can be mitigated by preventing access to SCRIPT LOAD and EVAL commands using ACL rules.”
  • Red Hat Enterprise Linux AppStream (v. 8) redis 6.2.7-1.module+el8.7.0+15197+cc495aeb
    fixed: vendor fix “If Lua scripting is not being used, this vulnerability can be mitigated by preventing access to SCRIPT LOAD and EVAL commands using ACL rules.” RHSA-2022:7541
  • Red Hat Enterprise Linux AppStream (v. 9) redis 6.2.7-1.el9
    fixed: vendor fix “If Lua scripting is not being used, this vulnerability can be mitigated by preventing access to SCRIPT LOAD and EVAL commands using ACL rules.” RHSA-2022:8096

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

1.50% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/redis/redis/pull/10651 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P
OSV 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
bitnami keydb
<6.2.7
6.2.7
bitnami redis
<6.2.7
6.2.7
bitnami valkey
<6.2.7
6.2.7

Affected products

  • redis redis

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of redis/redis published their own advisory on GitHub. Reviewed sources take precedence over it.