🔍 CVE-2021-32627

7.5
CVSS Score
HIGH
2021-10-04
2026-06-17 03:53
✅ 완료

🇰🇷 한글 설명

Redis의 정수 오버플로 취약점으로 인해 힙 메모리가 손상될 수 있으며, 이는 원격 코드 실행으로 이어질 수 있습니다. 공격자는 특정 설정값을 매우 크게 변경하고 특수하게 제작된 대규모 스트림 요소를 전송하여 이를 악용합니다.

💡 쉬운 설명

데이터베이스 프로그램의 숫자 계산 오류를 이용해 컴퓨터의 메모리를 망가뜨리는 공격입니다. 이를 통해 해커가 원격에서 명령을 내리거나 시스템을 장악할 위험이 있습니다.

🇺🇸 원문 (English)

Redis is an open source, in-memory database that persists on disk. In affected versions an integer overflow bug in Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves changing the default proto-max-bulk-len and client-query-buffer-limit configuration parameters to very large values and constructing specially crafted very large stream elements. The problem is fixed in Redis 6.2.6, 6.0.16 and 5.0.14. For users unable to upgrade an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.

📍 영향받는 시스템

Redis 6.2.6, 6.0.16, 5.0.14 미만 버전

⚔️ 공격 벡터

설정값(proto-max-bulk-len 등)을 조작한 후 특수하게 제작된 대규모 스트림 데이터를 전송

🛡️ 대응 방법

Redis를 최신 패치 버전(6.2.6, 6.0.16, 5.0.14 이상)으로 업그레이드하거나 ACL을 통해 CONFIG SET 명령 사용을 제한

🔧 검증 코드

출력된 버전이 보안 패치가 적용된 버전(6.2.6, 6.0.16, 5.0.14 이상)인지 확인

Shell / Script
redis-server --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Redis