// For flags

CVE-2024-51737

RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE

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

RediSearch is a Redis module that provides querying, secondary indexing, and full-text search for Redis. An authenticated redis user executing FT.SEARCH or FT.AGGREGATE with a specially crafted LIMIT command argument, or FT.SEARCH with a specially crafted KNN command argument, can trigger an integer overflow, leading to heap overflow and potential remote code execution. This vulnerability is fixed in 2.6.24, 2.8.21, and 2.10.10. Avoid setting value of -1 or large values for configuration parameters MAXSEARCHRESULTS and MAXAGGREGATERESULTS, to avoid exploiting large LIMIT arguments.

*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
Attack Vector
Local
Attack Complexity
High
Authentication
Single
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
None
Automatable
No
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2024-10-31 CVE Reserved
  • 2025-01-08 CVE Published
  • 2025-01-08 CVE Updated
  • 2025-01-09 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-122: Heap-based Buffer Overflow
  • CWE-190: Integer Overflow or Wraparound
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
RediSearch
Search vendor "RediSearch"
RediSearch
Search vendor "RediSearch" for product "RediSearch"
>= 2.0.0 < 2.6.24
Search vendor "RediSearch" for product "RediSearch" and version " >= 2.0.0 < 2.6.24"
en
Affected
RediSearch
Search vendor "RediSearch"
RediSearch
Search vendor "RediSearch" for product "RediSearch"
>= 2.8.0 < 2.8.21
Search vendor "RediSearch" for product "RediSearch" and version " >= 2.8.0 < 2.8.21"
en
Affected
RediSearch
Search vendor "RediSearch"
RediSearch
Search vendor "RediSearch" for product "RediSearch"
>= 2.10.0 < 2.10.10
Search vendor "RediSearch" for product "RediSearch" and version " >= 2.10.0 < 2.10.10"
en
Affected