CVE-2024-31449: Lua library commands may lead to stack overflow and RCE in Redis
Lua library commands may lead to stack overflow and RCE in Redis
Other sources
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-31449?
CVE-2024-31449 has a high severity level due to the potential for remote code execution.
How do I fix CVE-2024-31449?
To mitigate CVE-2024-31449, users should upgrade to Redis versions that are not affected, specifically versions after 6.2.16, 7.2.6, and 7.4.1.
Who is affected by CVE-2024-31449?
CVE-2024-31449 affects all versions of Redis prior to 6.2.16, 7.2.6, and 7.4.1, especially those deployed by authenticated users.
What can happen if CVE-2024-31449 is exploited?
Exploitation of CVE-2024-31449 can lead to a stack buffer overflow, potentially allowing an attacker to execute arbitrary code remotely.
Is there a workaround for CVE-2024-31449?
There is no specific workaround for CVE-2024-31449 other than upgrading to a secure version of Redis.