CVE-2024-46981

CRITICAL CVSS 3.1: 9.8 EPSS 8.18%
Updated Sep 05, 2025
Redis
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions 6.2.0 — 7.4.2
Fixed In 7.4.2
Type CWE-416 (Use After Free)
Vendor Redis
Public PoC No

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17.

An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 4

Configuration From (including) Up to (excluding)
Redis Redis
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
6.2.0 6.2.17
Redis Redis
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
7.2.0 7.2.7
Redis Redis
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
7.4.0 7.4.2
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
— —