Unrated severityNVD Advisory· Published Jan 6, 2025· Updated Mar 19, 2025
Redis' Lua library commands may lead to remote code execution
CVE-2024-46981
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.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/redis/redis/releases/tag/6.2.17mitrex_refsource_MISC
- github.com/redis/redis/releases/tag/7.2.7mitrex_refsource_MISC
- github.com/redis/redis/releases/tag/7.4.2mitrex_refsource_MISC
- github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4cmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.