CVEvulnerability
CVE-2024-46981
9.8 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2025-01-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.0 HIGH — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
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 configurations
• 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
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://github.com/redis/redis/releases/tag/6.2.17 Release Notes
- https://github.com/redis/redis/releases/tag/7.2.7 Release Notes
- https://github.com/redis/redis/releases/tag/7.4.2 Release Notes
- https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/01/msg00018.html Mailing List, Third Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerability Exploit, Third Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerability Exploit, Third Party Advisory