kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-32675 DoS vulnerability in Redis

Redis의 DoS 취약점

설명

Redis is an open source, in-memory database that persists on disk. When parsing an incoming Redis Standard Protocol (RESP) request, Redis allocates memory according to user-specified values which determine the number of elements (in the multi-bulk header) and size of each element (in the bulk header). An attacker delivering specially crafted requests over multiple connections can cause the server to allocate significant amount of memory. Because the same parsing mechanism is used to handle authentication requests, this vulnerability can also be exploited by unauthenticated users. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. 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: Using network access control tools like firewalls, iptables, security groups, etc. or Enabling TLS and requiring users to authenticate using client side certificates.

Redis는 디스크에 지속되는 오픈 소스 인 메모리 데이터베이스입니다. 들어오는 Redis 표준 프로토콜(RESP) 요청을 파싱할 때, Redis는 (multi-bulk 헤더에서) 각 요소의 크기와 (bulk 헤더에서) 요소의 수를 결정하는 사용자 지정 값에 따라 메모리를 할당합니다. 여러 연결을 통해 특수하게 만들어진 요청을 전달하는 공격자는 서버가 상당한 양의 메모리를 할당할 수 있습니다. 인증 요청을 처리하는 데 동일한 파싱 메커니즘이 사용되므로 이 취약점은 인증되지 않은 사용자도 악용할 수 있습니다. 이 문제는 Redis 버전 6.2.6, 6.0.16 및 5.0.14에서 해결되었습니다. redis-server 실행파일을 패치하지 않고 이 문제를 완화하기 위한 추가 해결 방법은 인증되지 않은 사용자가 Redis에 연결하는 것을 막기 위해 액세스를 차단하는 것입니다. 방화벽, iptables, 보안 그룹 등과 같은 네트워크 액세스 제어 도구를 사용하거나 TLS를 활성화하고 사용자가 클라이언트 측 인증서를 사용하여 인증하도록 요구하는 등 다양한 방법으로 수행할 수 있습니다.

영향 받는 제품 제품 1개

  • redis

    redis

    해결 버전 있음

    영향 받는 버전

    • 5.0.14 미만
    • 6.0.0 이상 6.0.16 미만
    • 6.2.0 이상 6.2.6 미만

    해결 버전

    • 5.0.14 이상
    • 6.0.16 이상
    • 6.2.6 이상

참고 자료 10건

‹ 목록

점검 지원 범위 문의

도입 문의