CVE-2024-51737RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | redisearch | Under investigation | UBUNTU-CVE-2024-51737 | |
| Ubuntu 25.10 | redisearch | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-51737 | |
| Ubuntu 24.04 | redisearch | Under investigation | UBUNTU-CVE-2024-51737 | |
| Ubuntu 22.04 | redisearch | Under investigation | UBUNTU-CVE-2024-51737 | |
| Ubuntu 20.04 | redisearch | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-51737 | |
| Ubuntu 18.04 | redisearch | Fix pending | UBUNTU-CVE-2024-51737 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- RediSearch: affected: >= 2.0.0, < 2.6.24, >= 2.8.0, < 2.8.21, >= 2.10.0, < 2.10.10
References
- https://github.com/RediSearch/RediSearch/security/advisories/GHSA-p2pg-67m3-4c76
- https://github.com/RediSearch/RediSearch/commit/13a2936d921dbe5a2e3c72653e0bd7b26af3a6cb
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.