🔍 CVE-2025-21605

7.5
CVSS Score
HIGH
2025-04-23
2026-06-17 08:43
✅ 완료

🇰🇷 한글 설명

Redis 2.6 버전부터 7.4.3 미만 버전에서 인증되지 않은 클라이언트가 출력 버퍼를 무제한으로 증가시켜 서버 메모리를 고갈시킬 수 있는 취약점입니다. 비밀번호 인증이 설정되어 있더라도 인증되지 않은 상태에서 발생하는 'NOAUTH' 응답이 버퍼를 계속 채울 수 있어 서비스 거부(DoS)를 유발합니다.

💡 쉬운 설명

해커가 아무런 인증 없이 Redis 서버에 계속 잘못된 요청을 보내 서버의 메모리를 가득 채워버리는 공격입니다. 이로 인해 서버가 멈추거나 정상적인 서비스를 제공할 수 없게 됩니다.

🇺🇸 원문 (English)

Redis is an open source, in-memory database that persists on disk. In versions starting at 2.6 and prior to 7.4.3, An unauthenticated client can cause unlimited growth of output buffers, until the server runs out of memory or is killed. By default, the Redis configuration does not limit the output buffer of normal clients (see client-output-buffer-limit). Therefore, the output buffer can grow unlimitedly over time. As a result, the service is exhausted and the memory is unavailable. When password authentication is enabled on the Redis server, but no password is provided, the client can still cause the output buffer to grow from "NOAUTH" responses until the system will run out of memory. This issue has been patched in version 7.4.3. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways. Either using network access control tools like firewalls, iptables, security groups, etc, or enabling TLS and requiring users to authenticate using client side certificates.

📍 영향받는 시스템

Redis versions 2.6.x up to 7.4.2

⚔️ 공격 벡터

인증되지 않은 클라이언트가 지속적으로 요청을 보내 출력 버퍼를 무제한으로 확장시키는 방식

🛡️ 대응 방법

Redis를 7.4.3 버전 이상으로 업데이트하거나, 방화벽 및 TLS 인증을 통해 미인증 사용자의 접근을 차단하십시오.

🔧 검증 코드

출력된 버전 번호가 7.4.3보다 낮으면 해당 취약점에 노출된 상태입니다.

Shell / Script
redis-server --version | grep -E 'redis-server v[0-9]+\.[0-9]+\.[0-9]+' | awk '{print $3}' | cut -d'v' -f2

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Redis