CVE-2024-46981CWE-416

Redis' Lua library commands may lead to remote code execution

High · published January 6, 2025

CVSS v3.1
7.0
EPSS
8%
Percentile
94.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.08182 · 94.9th percentile
Weakness
CWE-416 · Use After Free
Published
2025-01-06T21:11Z
EPSS history
Timeline
  • 06 JAN 21:11Z
    Redis' Lua library commands may lead to remote code execution
    cvelistv5