Skip to main content
← All vulnerabilities
CVE-2024-51737

RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.24, 2.8.21, 2.10.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • RediSearch RediSearch

    From 2.0.0 · fixed in 2.6.24; From 2.8.0 · fixed in 2.8.21; From 2.10.0 · fixed in 2.10.10

References 2

GitHub · RediSearch/RediSearch