redis: Heap and stack buffer overflow (CVE-2019-10192, CVE-2019-10193)
CVE-2019-10192: Heap buffer overflow in HyperLogLog triggered by malicious client
A heap-buffer overflow vulnerability was found in the Redis hyperloglog data structure versions 3.x before 3.2.13, 4.x before 4.0.14 and 5.x before 5.0.4. By carefully corrupting a hyperloglog using the SETRANGE command, an attacker could trick Redis interpretation of dense HLL encoding to write up to 3 bytes beyond the end of a heap-allocated buffer.
Fixed In Version:
Redis 3.2.13, Redis 4.0.14, Redis 5.0.4
References:
CVE-2019-10193: Stack buffer overflow in HyperLogLog triggered by malicious client
A stack-buffer overflow vulnerability was found in the Redis hyperloglog data structure versions 3.x before 3.2.13, 4.x before 4.0.14 and 5.x before 5.0.4. By corrupting a hyperloglog using the SETRANGE command, an attacker could cause Redis to perform controlled increments of up to 12 bytes past the end of a stack-allocated buffer.
Fixed In Version:
Redis 3.2.13, Redis 4.0.14, Redis 5.0.4
References:
- https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
- https://nvd.nist.gov/vuln/detail/CVE-2019-10193