CVE-2022-24736CWE-476

A Malformed Lua script can crash Redis

Low · published April 27, 2022

CVSS v3.1
3.3
EPSS
1%
Percentile
74.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.3 · LOW
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.01498 · 74.0th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2022-04-27T19:55Z
EPSS history
Timeline
  • 27 APR 19:55Z
    A Malformed Lua script can crash Redis
    cvelistv5