CVE-2019-13132
In ZeroMQ libzmq before 4.0.9, 4.1.x before 4.1.7, and 4.2.x before 4.3.2, a remote, unauthenticated client connecting to a libzmq application, running with a socket listening with CURVE encryption/authentication enabled, may cause a stack overflow and overwrite the stack with arbitrary data, due to a buffer overflow in the library. Users running public servers with the above configuration are highly encouraged to upgrade as soon as possible, as there are no known mitigations.
What to do
Likely to be exploited: EPSS gives a 42% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | zeromq3 | Fixed | 4.2.5-1ubuntu0.2 | UBUNTU-CVE-2019-13132 |
| Ubuntu 16.04 | zeromq3 | Fixed | 4.1.4-7ubuntu0.1 | UBUNTU-CVE-2019-13132 |
| Ubuntu 14.04 | zeromq3 | Fix pending | 4.0.4+dfsg-2ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2019-13132 |
| Debian 14 | zeromq3 | Fixed | 4.3.1-5 | DEBIAN-CVE-2019-13132 |
| Debian 13 | zeromq3 | Fixed | 4.3.1-5 | DEBIAN-CVE-2019-13132 |
| Debian 12 | zeromq3 | Fixed | 4.3.1-5 | DEBIAN-CVE-2019-13132 |
| Alpine Linux 3.24 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.23 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.22 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.21 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.20 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.19 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.18 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.17 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.16 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.15 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.14 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.13 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.12 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.11 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.10 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.9 | zeromq | Fixed | 4.3.2-r0 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.8 | zeromq | Fixed | 4.2.5-r1 | ALPINE-CVE-2019-13132 |
| Alpine Linux 3.7 | zeromq | Fixed | 4.2.5-r1 | ALPINE-CVE-2019-13132 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/4050-1/ (vendor-advisory)
- https://www.debian.org/security/2019/dsa-4477 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00033.html (vendor-advisory)
- https://security.gentoo.org/glsa/201908-17 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- http://www.openwall.com/lists/oss-security/2019/07/08/6
- https://lists.debian.org/debian-lts-announce/2019/07/msg00007.html
- https://usn.ubuntu.com/4050-1/
- https://www.debian.org/security/2019/dsa-4477
- https://seclists.org/bugtraq/2019/Jul/13
- https://github.com/zeromq/libzmq/issues/3558
- https://github.com/zeromq/libzmq/releases
- http://www.securityfocus.com/bid/109284
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00033.html
- https://security.gentoo.org/glsa/201908-17
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AVCTNUEOFFZUNJOXFCYCF3C6Y6NDILI3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T6HINI24SL7CU6XIJWUOSGTZWEFOOL7X/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MK7SJYDJ7MMRRRPCUN3SCSE7YK6ZSHVS/
- https://fangpenlin.com/posts/2024/04/07/how-i-discovered-a-9-point-8-critical-security-vulnerability-in-zeromq-with-mostly-pure-luck/
- https://news.ycombinator.com/item?id=39970716
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.