CVE-2024-46981
An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (8.17%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 8.17% probability · 95th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-416
- Affected
- redis/redis · debian/debian linux
- Source
- security-advisories@github.com
References
- https://github.com/redis/redis/releases/tag/6.2.17Release Notes
- https://github.com/redis/redis/releases/tag/7.2.7Release Notes
- https://github.com/redis/redis/releases/tag/7.4.2Release Notes
- https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4cVendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/01/msg00018.htmlMailing List, Third Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerabilityExploit, Third Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerabilityExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.