CVE-2024-46981
Last modified
CVE-2024-46981 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 7.80% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | >= 6.2.0, < 6.2.17 |
| Redis | Redis | >= 7.2.0, < 7.2.7 |
| Redis | Redis | >= 7.4.0, < 7.4.2 |
| Debian | Debian Linux | 11.0 |
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://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
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-46981?
How severe is CVE-2024-46981?
How do I fix CVE-2024-46981?
Are you affected by CVE-2024-46981?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
