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).

Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.4%top 66.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSredisearchno fix listedUBUNTU-CVE-2024-51737
Ubuntu:24.04:LTSredisearchno fix listedUBUNTU-CVE-2024-51737
Ubuntu:25.10redisearchno fix listedUBUNTU-CVE-2024-51737
Ubuntu:26.04:LTSredisearchno fix listedUBUNTU-CVE-2024-51737

Affected products (as reported)

VendorProductVersions
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

References