CVE-2021-32761 Integer overflow issues with *BIT commands on 32-bit systems
32비트 시스템에서 *BIT 명령으로 정수 오버플로우 문제
설명
Redis is an in-memory database that persists on disk. A vulnerability involving out-of-bounds read and integer overflow to buffer overflow exists starting with version 2.2 and prior to versions 5.0.13, 6.0.15, and 6.2.5. On 32-bit systems, Redis `*BIT*` command are vulnerable to integer overflow that can potentially be exploited to corrupt the heap, leak arbitrary heap contents or trigger remote code execution. The vulnerability involves changing the default `proto-max-bulk-len` configuration parameter to a very large value and constructing specially crafted commands bit commands. This problem only affects Redis on 32-bit platforms, or compiled as a 32-bit binary. Redis versions 5.0.`3m 6.0.15, and 6.2.5 contain patches for this issue. 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는 디스크에 지속되는 메모리 내 데이터베이스입니다. 경계 밖 읽기(out-of-bounds read) 및 버퍼 오버플로에 대한 정수 오버플로우와 관련된 취약점이 버전 2.2부터 버전 5.0.13, 6.0.15 및 6.2.5 이전부터 존재합니다. 32비트 시스템에서 Redis `*BIT*` 명령은 잠재적으로 힙을 손상시키거나 임의의 힙 내용을 유출하거나 원격 코드 실행을 트리거하기 위해 악용될 수 있는 정수 오버플로우에 취약합니다. 이 취약점은 기본 `proto-max-bulk-len` 구성 매개 변수를 매우 큰 값으로 변경하고 특수하게 만들어진 명령 비트 명령을 구성하는 것과 관련이 있습니다. 이 문제는 Redis가 32비트 플랫폼에서만 영향을 주거나 32비트 바이너리로 컴파일됩니다. Redis 버전 5.0.`3m 6.0.15 및 6.2.5에는 이 문제에 대한 패치가 포함되어 있습니다. `redis-server` 실행 파일을 패치하지 않고 문제를 완화하기 위한 추가 해결 방법은 사용자가 `proto-max-bulk-len` 구성 매개 변수를 수정하지 못하도록 하는 것입니다. 이 작업은 ACL을 사용하여 권한이 없는 사용자가 CONFIG SET 명령을 사용하는 것을 제한할 수 있습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
redis
redis
영향 받는 버전
- 2.2 이상 5.0.13 미만
- 6.0.0 이상 6.0.15 미만
- 6.2.0 이상 6.2.5 미만
해결 버전
- 5.0.13 이상
- 6.0.15 이상
- 6.2.5 이상
참고 자료 8건
- github.com https://github.com/redis/redis/security/advisories/GHSA-8wxq-j7rp-g8wj (새 창)
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/07/msg00017.html (새 창)
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/08/msg00026.html (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6O7AUOROBYGP5IMGJPC5HZ3R2RB6GZ5X/ (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VGX7RRAWGXWXEAKJTQYSDSBO2BC3SAHD/ (새 창)
- security.gentoo.org https://security.gentoo.org/glsa/202209-17 (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20210827-0004/ (새 창)
- debian.org https://www.debian.org/security/2021/dsa-5001 (새 창)