CVE-2022-24736NULL Pointer Dereference in Redis

Severity
5.5MEDIUMNVD
CNA3.3
EPSS
0.9%
top 23.74%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 27

Description

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

CVEListV5redis/redis< 7.0.0+1
NVDredis/redis< 6.2.7+1
Debianredis/redis< 5:7.0.1-4+2

Also affects: Fedora 34, 35, 36

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-24736: Redis is an in-memory database that persists on disk2022-04-27
CVEList
A Malformed Lua script can crash Redis2022-04-27

📋Vendor Advisories

3
Red Hat
redis: Malformed Lua script can crash Redis2022-04-27
Microsoft
A Malformed Lua script can crash Redis2022-04-12
Debian
CVE-2022-24736: redis - Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 an...2022
CVE-2022-24736 — NULL Pointer Dereference in Redis | cvebase