PT-2025-2911 · Redis · Redisearch

Kei-Nan

·

Published

2025-01-08

·

Updated

2025-01-10

·

CVE-2024-51737

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions RediSearch versions prior to 2.6.24 RediSearch versions prior to 2.8.21 RediSearch versions prior to 2.10.10
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.
Recommendations For versions prior to 2.6.24, update to version 2.6.24 or later. For versions prior to 2.8.21, update to version 2.8.21 or later. For versions prior to 2.10.10, update to version 2.10.10 or later. As a temporary workaround, consider avoiding setting the value of -1 or large values for configuration parameters MAXSEARCHRESULTS and MAXAGGREGATERESULTS, to avoid exploiting large LIMIT arguments.

Exploit

Fix

Integer Overflow

Heap Based Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-51737
GHSA-P2PG-67M3-4C76

Affected Products

Redisearch