Integer overflow in libzmq - CVE-2019-6250

 

Integer overflow in libzmq - CVE-2019-6250

Published: January 22, 2019


Vulnerability identifier: #VU17108
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-6250
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

libzmq
Gentoo Linux
Opensuse
zeromq3 (Debian package)
zeromq (Alpine package)

How to mitigate CVE-2019-6250

Update to version 4.3.1.

libzmq - update to 4.3.1
zeromq3 (Debian package) - update to 4.2.1-4+deb9u1
zeromq (Alpine package) - update to 4.2.5-r0

External References

Related Security Bulletins