Vulnerability record · CVE-2021-20235 · published 1 April 2021
CVE-2021-20235: Zeromq libzmq classic buffer overflow vulnerability
Zeromq · Libzmq
There's a flaw in the zeromq server in versions before 4.3.3 in src/decoder_allocators.hpp. The decoder static allocator could have its sized changed, but the buffer would remain the same as it is a static buffer. A remote, unauthenticated attacker who sends a crafted request to the zeromq server could trigger a buffer overflow WRITE of arbitrary data if CURVE/ZAP authentication is not enabled. The greatest impact of this flaw is to application availability, data integrity, and confidentiality.
Description
There's a flaw in the zeromq server in versions before 4.3.3 in src/decoder_allocators.hpp. The decoder static allocator could have its sized changed, but the buffer would remain the same as it is a static buffer. A remote, unauthenticated attacker who sends a crafted request to the zeromq server could trigger a buffer overflow WRITE of arbitrary data if CURVE/ZAP authentication is not enabled. The greatest impact of this flaw is to application availability, data integrity, and confidentiality.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1921983 | Issue TrackingPatchThird Party Advisory |
| https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6 | PatchThird Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1921983 | Issue TrackingPatchThird Party Advisory |
| https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6 | PatchThird Party Advisory |
Track CVE-2021-20235 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-20235), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.