[3.9] zeromq: Integer overflow in zmq::v2_decoder_t::size_ready (CVE-2019-6250)
A pointer overflow, with code execution, was discovered in ZeroMQ libzmq (aka 0MQ) 4.2.x and 4.3.x before 4.3.1. A v2_decoder.cpp zmq::v2_decoder_t::size_ready integer overflow allows an authenticated attacker to overwrite an arbitrary amount of bytes beyond the bounds of a buffer, which can be leveraged to run arbitrary code on the target system. The memory layout allows the attacker to inject OS commands into a data structure located immediately after the problematic buffer (i.e., it is not necessary to use a typical buffer-overflow exploitation technique that changes the flow of control).
References:
https://github.com/zeromq/libzmq/releases/tag/v4.3.1
https://nvd.nist.gov/vuln/detail/CVE-2019-6250
Patch:
https://github.com/zeromq/libzmq/pull/3353/commits/1a2ed12716693073032d57dac4e269df3d373751
(from redmine: issue id 9876, created on 2019-01-21, closed on 2019-02-14)
- Relations:
- parent #9875 (closed)
- Changesets:
- Revision 078924ae by Natanael Copa on 2019-01-23T18:56:25Z:
main/zeromq: security upgrade to 4.3.1 (CVE-2019-6250)
fixes #9876