CVE-2024-51737 Details
Description
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.
A vulnerability exists in RediSearch, a Redis module for querying and full-text search, allowing an authenticated user to execute FT.SEARCH or FT.AGGREGATE commands with specially crafted LIMIT or KNN arguments. This can trigger an integer overflow, causing a heap overflow and potentially leading to remote code execution. The vulnerability affects all RediSearch versions greater than 2.0.0 and has been patched in versions 2.6.24, 2.8.21, and 2.10.10.
Users can upgrade to RediSearch versions 2.6.24, 2.8.21, or 2.10.10 to address this vulnerability. Additionally, avoid setting large values or -1 for the MAXSEARCHRESULTS and MAXAGGREGATERESULTS configuration parameters.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 8, 2025CISA-ADP
Assessed Jan 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/RediSearch/RediSearch/commit/13a2936d921dbe5a2e3c72653e0bd7b26af3a6cb | [email protected] | Source CodeVendor |
| https://github.com/RediSearch/RediSearch/security/advisories/GHSA-p2pg-67m3-4c76 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| RediSearch | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 8, 2025 | New CVE Received | [email protected] |
Volerion