// For flags

CVE-2024-31449

Lua library commands may lead to stack overflow and RCE in Redis

Severity Score

7.0
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
None
Automatable
No
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2024-04-03 CVE Reserved
  • 2024-10-07 CVE Published
  • 2024-10-07 CVE Updated
  • 2024-10-08 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-20: Improper Input Validation
  • CWE-121: Stack-based Buffer Overflow
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Redis
Search vendor "Redis"
Redis
Search vendor "Redis" for product "Redis"
>= 2.6.0 < 6.2.16
Search vendor "Redis" for product "Redis" and version " >= 2.6.0 < 6.2.16"
en
Affected
Redis
Search vendor "Redis"
Redis
Search vendor "Redis" for product "Redis"
>= 7.0.0 < 7.2.6
Search vendor "Redis" for product "Redis" and version " >= 7.0.0 < 7.2.6"
en
Affected
Redis
Search vendor "Redis"
Redis
Search vendor "Redis" for product "Redis"
>= 7.3.0 < 7.4.1
Search vendor "Redis" for product "Redis" and version " >= 7.3.0 < 7.4.1"
en
Affected