Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | >= 6.2.0, < 6.2.17 |
| Debian | Debian Linux | 11.0 |
Related Weaknesses (CWE)
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 ListThird Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerabilityExploitThird Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerabiliExploitThird Party Advisory
FAQ
What is CVE-2024-46981?
CVE-2024-46981 is a vulnerability with a CVSS score of 7.0 (HIGH). 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 ...
How severe is CVE-2024-46981?
CVE-2024-46981 has been rated HIGH with a CVSS base score of 7.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-46981?
Check the references section above for vendor advisories and patch information. Affected products include: Redis Redis, Debian Debian Linux.