🇰🇷 한글 설명
Redis의 기본 문자열 라이브러리에서 발생하는 정수 오버플로 취약점입니다. 공격자가 proto-max-bulk-len 설정을 매우 큰 값으로 변경하고 특수하게 제작된 페이로드를 전송하면 힙 메모리 오염을 유발하여 서비스 거부(DoS) 또는 원격 코드 실행(RCE)이 가능합니다.
💡 쉬운 설명
데이터베이스의 메모리 처리 과정에서 숫자가 너무 커져 계산 오류가 발생하는 문제입니다. 이를 악용하면 시스템을 멈추게 하거나 해커가 원격에서 명령을 내릴 수 있습니다.
🇺🇸 원문 (English)
Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution. The vulnerability involves changing the default proto-max-bulk-len configuration parameter to a very large value and constructing specially crafted network payloads or commands. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. 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.5 미만, 6.0.15 미만, 5.0.13 미만 버전
⚔️ 공격 벡터
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 이상)이 포함되어 있으면 안전합니다.
redis-cli --version | grep -E '6.2.6|6.0.16|5.0.14'