CVE-2024-46981
CVE-2024-46981 — Redis' Lua library commands may lead to remote code execution
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
8%
chance of exploitation in 30 days
CVSS base
7.0
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.0 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-416
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
7 on the record
- github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c
x_refsource_CONFIRM
- github.com/redis/redis/releases/tag/6.2.17
x_refsource_MISC
- github.com/redis/redis/releases/tag/7.2.7
x_refsource_MISC
- github.com/redis/redis/releases/tag/7.4.2
x_refsource_MISC
- lists.debian.org/debian-lts-announce/2025/01/msg00018.html
reference
- www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerability
reference
- www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerability
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2022-0543 Debian-specific Redis Server Lua Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-49844 Redis Lua Use-After-Free may lead to remote code executionCVSS 9.9
- CVE-2026-25243 redis-server RESTORE invalid memory access may allow remote code executionCVSS 8.8
- CVE-2026-23631 redis-server Lua use-after-free may allow remote code executionCVSS 8.1
- CVE-2021-32675 DoS vulnerability in RedisCVSS 7.5
- CVE-2025-24085 Apple Multiple Products Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.