CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-51737: RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE

7.0 CVSS

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.

Classification

CVE ID: CVE-2024-51737

CVSS Base Severity: HIGH

CVSS Base Score: 7.0

Affected Products

Vendor: RediSearch

Product: RediSearch

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.48% (scored less or equal to compared to others)

EPSS Date: 2025-02-06 (when was this score calculated)

References

https://github.com/RediSearch/RediSearch/security/advisories/GHSA-p2pg-67m3-4c76
https://github.com/RediSearch/RediSearch/commit/13a2936d921dbe5a2e3c72653e0bd7b26af3a6cb

Timeline