CVE-2024-46981: high-severity vulnerability in redis
Redis' Lua library commands may lead to remote code execution
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7epss 8.2%
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 · redisRelated CVEs — redis
In the same product, most dangerous first.
CVE-2025-49844CRITICALRedis Lua Use-After-Free may lead to remote code executionEPSS 82.6%CVE-2023-36824HIGHHeap overflow in COMMAND GETKEYS and ACL evaluation in RedisEPSS 77.4%CVE-2023-22458MEDIUMInteger overflow in multiple Redis commands can lead to denial-of-serviceEPSS 72.0%CVE-2022-36021MEDIUMRedis string pattern matching can be abused to achieve Denial of ServiceEPSS 59.8%CVE-2023-28425MEDIUMSpecially crafted MSETNX command can lead to denial-of-serviceEPSS 58.5%CVE-2022-24834HIGHHeap overflow issue with the Lua cjson library used by RedisEPSS 41.4%
References
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