🔍 CVE-2024-55656

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

🇰🇷 한글 설명

RedisBloom의 CMS.INITBYDIM 명령어에서 정수 오버플로우 취약점으로 인해 필요한 메모리보다 적게 할당됩니다. 인증된 공격자가 할당된 메모리 범위를 벗어나 읽기 및 쓰기 작업을 수행하여 정보 유출 및 힙 오버플로우를 야기할 수 있습니다.

💡 쉬운 설명

RedisBloom이 메모리를 할당할 때 수학 오류로 인해 필요한 것보다 적게 할당합니다. 인증된 사용자가 이를 악용하여 시스템 정보를 탈취하거나 메모리를 손상시킬 수 있습니다.

🇺🇸 원문 (English)

RedisBloom adds a set of probabilistic data structures to Redis. There is an integer overflow vulnerability in RedisBloom, which is a module used in Redis. The integer overflow vulnerability allows an attacker (a redis client which knows the password) to allocate memory in the heap lesser than the required memory due to wraparound. Then read and write can be performed beyond this allocated memory, leading to info leak and OOB write. The integer overflow is in CMS.INITBYDIM command, which initialize a Count-Min Sketch to dimensions specified by user. It accepts two values (width and depth) and uses them to allocate memory in NewCMSketch(). This vulnerability is fixed in 2.2.19, 2.4.12, 2.6.14, and 2.8.2.

📍 영향받는 시스템

RedisBloom 2.2.19 미만, 2.4.12 미만, 2.6.14 미만, 2.8.2 미만 모든 버전

⚔️ 공격 벡터

Redis 인증 정보를 보유한 클라이언트가 CMS.INITBYDIM 명령어에 큰 width/depth 값을 입력하여 정수 오버플로우 유발

🛡️ 대응 방법

RedisBloom을 2.2.19, 2.4.12, 2.6.14 또는 2.8.2 이상 버전으로 즉시 업그레이드

🔧 검증 코드

RedisBloom 모듈의 버전 정보가 표시되면 위 버전들과 비교하여 취약 버전이면 업그레이드 필요

Shell / Script
redis-cli --version && redis-cli INFO modules 2>/dev/null | grep -i bloom

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Redis