Redis' Lua library commands may lead to remote code execution
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7epss 8.2%
exploitation probability
8.2%top 6% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
redis · redisReferences
https://github.com/redis/redis/releases/tag/6.2.17https://github.com/redis/redis/releases/tag/7.2.7https://github.com/redis/redis/releases/tag/7.4.2https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4chttps://lists.debian.org/debian-lts-announce/2025/01/msg00018.htmlhttps://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerabilityhttps://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerability