Vulnerability · Published Jan 8, 2025 · Assigned by GitHub_M
CVE-2024-51737RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE
High 7.0
In plain English
A high-severity heap buffer overflow in RediSearch from RediSearch. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | redisearch | no fix listed | UBUNTU-CVE-2024-51737 |
| Ubuntu:24.04:LTS | redisearch | no fix listed | UBUNTU-CVE-2024-51737 |
| Ubuntu:25.10 | redisearch | no fix listed | UBUNTU-CVE-2024-51737 |
| Ubuntu:26.04:LTS | redisearch | no fix listed | UBUNTU-CVE-2024-51737 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| RediSearch | RediSearch | >= 2.0.0, < 2.6.24>= 2.8.0, < 2.8.21>= 2.10.0, < 2.10.10 |
Weakness: CWE-122, CWE-190 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H