🔍 CVE-2024-51737

7.0
CVSS Score
HIGH
2025-01-08
2026-06-17 08:06
✅ 완료

🇰🇷 한글 설명

RediSearch Redis 모듈에서 인증된 사용자가 특수하게 조작된 LIMIT이나 KNN 명령어 인자를 사용하여 정수 오버플로우를 유발할 수 있습니다. 이는 힙 오버플로우로 이어져 원격 코드 실행이 가능합니다.

💡 쉬운 설명

Redis 검색 도구(RediSearch)의 특정 명령어에서 큰 숫자 값을 입력하면 메모리가 손상될 수 있습니다. 이를 통해 시스템 침투자가 서버에서 임의의 코드를 실행할 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

RediSearch 2.6.24, 2.8.21, 2.10.10 미만의 모든 버전

⚔️ 공격 벡터

인증된 Redis 사용자가 FT.SEARCH 또는 FT.AGGREGATE 명령어에 조작된 LIMIT 또는 KNN 인자를 전달하여 정수 오버플로우 유발

🛡️ 대응 방법

RediSearch를 2.6.24, 2.8.21, 2.10.10 이상으로 업그레이드하고 MAXSEARCHRESULTS/MAXAGGREGATERESULTS를 -1이 아닌 합리적 범위의 값으로 설정

🔧 검증 코드

search 관련 모듈이 출력되면 RediSearch 설치 확인 가능하며, INFO MODULES로 버전 확인

Shell / Script
redis-cli MODULE LIST 2>/dev/null | grep search

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Redis