RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| RediSearch | RediSearch | 2.0.0 to before 2.6.24; 2.8.0 to before 2.8.21; 2.10.0 to before 2.10.10 | 2.6.24, 2.8.21, 2.10.10 | Patch available | CNA |
- RediSearch VendorRediSearch Affected 2.0.0 to before 2.6.24; 2.8.0 to before 2.8.21; 2.10.0 to before 2.10.10 Fixed in 2.6.24, 2.8.21, 2.10.10 Patch available CNA
Remediation
- Fix · CNA RediSearch (RediSearch) Fixed in 2.6.24, 2.8.21, 2.10.10
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-51737
References
Sources
- CVE-2024-51737 · CVE Program
- CVE-2024-51737 · NVD
- FIRST EPSS
- CVE-2024-51737 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences