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

CVE-2021-32628 Vulnerability in handling large ziplists

큰 ziplists 취급에 있는 취약성

설명

Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the ziplist data structure used by all versions of Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves modifying the default ziplist configuration parameters (hash-max-ziplist-entries, hash-max-ziplist-value, zset-max-ziplist-entries or zset-max-ziplist-value) to a very large value, and then constructing specially crafted commands to create very large ziplists. The problem is fixed in Redis versions 6.2.6, 6.0.16, 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the above configuration parameters. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.

Redis는 디스크에 지속되는 오픈 소스 인 메모리 데이터베이스입니다. 모든 버전의 Redis에서 사용하는 ziplist 데이터 구조의 정수 오버플로우 버그는 힙을 손상시키고 잠재적으로 원격 코드 실행을 초래하는 데 악용될 수 있습니다. 이 취약점은 기본 ziplist 구성 매개 변수 (hash-max-ziplist-entries, hash-max-ziplist-value, zset-max-ziplist-entries 또는 zset-max-ziplist-value)를 매우 큰 값으로 수정 한 다음 매우 큰 ziplist를 만들기 위해 특별히 만들어진 명령을 구성하는 것과 관련이 있습니다. 이 문제는 Redis 버전 6.2.6, 6.0.16, 5.0.14에서 해결되었습니다. redis-server 실행파일을 패치하지 않고 문제를 완화하기 위한 추가적인 해결 방법은 사용자가 위의 구성 파라미터를 수정하지 못하도록 하는 것입니다. 이 작업은 ACL을 사용하여 권한이 없는 사용자가 CONFIG SET 명령을 사용하는 것을 제한할 수 있습니다.

영향 받는 제품 제품 1개

  • redis

    redis

    해결 버전 있음

    영향 받는 버전

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

    해결 버전

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

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의