Integer overflow in libzmq - CVE-2019-6250
Published: January 22, 2019
Vulnerability details
The vulnerability allows a remote authenticated attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in a v2_decoder.cpp zmq::v2_decoder_t::size_ready. A remote authenticated attacker can overwrite an arbitrary amount of bytes beyond the bounds of a buffer and inject OS commands into a data structure located immediately after the problematic buffer to execute arbitrary code with elevated privileges.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Opensuse
zeromq3 (Debian package)
zeromq (Alpine package)
How to mitigate CVE-2019-6250
zeromq3 (Debian package) - update to 4.2.1-4+deb9u1
zeromq (Alpine package) - update to 4.2.5-r0