🇰🇷 한글 설명
Dragonfly 데이터 저장소 1.40.0 미만 버전에서 CMS.INITBYDIM 및 CMS.INITBYPROB 함수 사용 시 정수 오버플로 취약점이 존재합니다. 공격자가 조작된 차원 값을 입력하면 버퍼 크기가 작게 할당되어, 인접한 힙 메모리를 손상시키거나 정보를 유출하고 서버를 중단시킬 수 있습니다.
💡 쉬운 설명
데이터 저장소 프로그램이 숫자를 계산하는 과정에서 오류가 발생하여 메모리 공간을 잘못 할당하는 문제입니다. 이를 통해 해커가 서버를 멈추게 하거나 중요한 정보를 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
Dragonfly is an in-memory data store built for modern application workloads. Prior to 1.40.0, CMS.INITBYDIM and CMS.INITBYPROB accept dimensions whose width times depth times sizeof(int64_t) overflows in src/core/cms.cc, allocating an undersized counter buffer while CMS.INCRBY and CMS.QUERY use the unbounded dimensions, which allows an unauthenticated remote client to corrupt or disclose adjacent heap memory and crash the server. This issue is fixed in version 1.40.0.
📍 영향받는 시스템
Dragonfly version < 1.40.0
⚔️ 공격 벡터
인증되지 않은 원격 클라이언트가 조작된 차원 값을 포함한 CMS 명령어를 전송하여 공격
🛡️ 대응 방법
Dragonfly를 최신 버전인 1.40.0 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 1.40.0 미만인지 확인하여 취약 여부를 판단합니다.
dragonfly --version 2>/dev/null | grep -E 'v[0-9]+\.[0-9]+'
💻 영향받는 소프트웨어
IBM WebSphere Application Server