CVE-2024-51737 RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
4 packages: 0 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/redisearch(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/redisearch(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/redisearch(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| RediSearch | = >= 2.0.0, < 2.6.24; = >= 2.8.0, < 2.8.21; = >= 2.10.0, < 2.10.10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/redisearch(Ubuntu:22.04) | All versions | No fix listed |
| RediSearch | = >= 2.0.0, < 2.6.24 | No fix listed |
| RediSearch | = >= 2.8.0, < 2.8.21 | No fix listed |
| RediSearch | = >= 2.10.0, < 2.10.10 | No fix listed |
| ubuntu/redisearch(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/redisearch(Ubuntu:26.04) | All versions | No fix listed |