CVE-2024-46981 - CVE House
Back to Database
Status published High CVE-2024-46981

Redis' Lua library commands may lead to remote code execution

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-46981

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

redis
Vulnerable Versions:
>= 7.4.0, < 7.4.2, >= 7.2.0, < 7.2.7, < 6.2.17

Timeline

Official Publish: January 6th, 2025
Last Modified: March 19th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)