CVE-2024-46981
Redis vulnerability analysis and mitigation

Overview

Redis, an open-source in-memory database, was found to contain a security vulnerability (CVE-2024-46981) that affects all versions with Lua scripting capabilities. The vulnerability was discovered and disclosed on January 6, 2025. An authenticated user could potentially exploit this vulnerability through specially crafted Lua scripts to manipulate the garbage collector, potentially leading to remote code execution (Redis Advisory).

Technical details

The vulnerability is classified as High severity with a CVSS v3.1 base score of 7.0 (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H). The technical assessment indicates that while the attack vector is Local and requires High complexity, it can result in High impact across Confidentiality, Integrity, and Availability. The vulnerability is identified as CWE-416 (Use After Free) and specifically involves the manipulation of the garbage collector through Lua script commands (Redis Advisory, NVD).

Impact

The vulnerability can lead to remote code execution if successfully exploited, potentially compromising the security of the Redis server. This could allow attackers to execute arbitrary code, potentially leading to unauthorized access, data breaches, or system compromise (Redis Advisory).

Exploitability

The vulnerability requires an authenticated user and involves crafting specific Lua scripts to manipulate the garbage collector. The attack complexity is rated as High, indicating that exploitation requires advanced knowledge and specific conditions to be met. The vulnerability was reported by p33zy working with Trend Micro Zero Day Initiative (Redis Advisory).

Mitigation and workarounds

The vulnerability has been patched in Redis versions 7.4.2, 7.2.7, and 6.2.17. For users unable to immediately update, a workaround is available by preventing users from executing Lua scripts through ACL restrictions on EVAL and EVALSHA commands. This can be implemented without patching the redis-server executable (Redis Advisory, Redis Release).

Community reactions

The vulnerability has received attention from major Linux distributions, with Debian and Red Hat releasing security updates to address the issue. Red Hat has classified this as an Important security update, indicating significant concern about its potential impact (Debian LTS, Red Hat).

Additional resources


SourceThis report was generated using AI

Related Redis vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-25589HIGH7.7
  • Redis logoRedis
  • redis-8.2
NoYesMay 05, 2026
CVE-2026-25588HIGH7.7
  • Redis logoRedis
  • cpe:2.3:a:redis:redis
NoYesMay 05, 2026
CVE-2026-25243HIGH7.7
  • Redis logoRedis
  • redis-devel
NoYesMay 05, 2026
CVE-2026-66373HIGH7.5
  • Redis logoRedis
  • redis
NoYesJul 25, 2026
CVE-2026-23631MEDIUM6.1
  • Redis logoRedis
  • redis:7::redis
NoYesMay 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management