Heap-based buffer overflow in Redis - CVE-2019-10192
Published: July 14, 2019
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing Redis hyperloglog data structure. A remote attacker can carefully corrupt hyperloglog using the SETRANGE command, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Red Hat Enterprise Linux Server
Ubuntu
Red Hat OpenStack
Red Hat OpenStack for IBM Power
Red Hat OpenStack Director Deployment Tools
redis (Alpine package)
redis-tools (Ubuntu package)
redis (Debian package)
redis (Ubuntu package)
rh-redis32-redis (Red Hat package)
rh-redis5-redis (Red Hat package)
How to mitigate CVE-2019-10192
redis (Alpine package) - update to 4.0.14-r0
redis-tools (Ubuntu package) - addressed in versions 2:3.0.6-1ubuntu0.4, 5:4.0.9-1ubuntu0.2, 5:5.0.3-4ubuntu0.1
redis (Debian package) - update to 3:3.2.6-3+deb9u3
redis (Ubuntu package) - addressed in versions 5:4.0.9-1ubuntu0.2, 5:5.0.3-4ubuntu0.1
rh-redis32-redis (Red Hat package) - addressed in versions 3.2.13-1.el6, 3.2.13-1.el7
rh-redis5-redis (Red Hat package) - update to 5.0.5-1.el7
External References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10192
- https://raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES
- https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
- https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES
- https://seclists.org/bugtraq/2019/Jul/19
Related Security Bulletins
- Multiple vulnerabilities in Redis
- Debian update for redis
- Red Hat update for 5
- Red Hat update for redis
- Red Hat update for redis
- Gentoo update for Redis
- Red Hat update for redis
- Red Hat update for redis
- Red Hat update for redis
- Heap-based buffer overflow in redis (Alpine package)
- Red Hat Software Collections update for rh-redis5-redis
- Red Hat Software Collections update for rh-redis32-redis
- Ubuntu update for redis