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).

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

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