CVE-2021-20235
Reported by redhat · Published April 1, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libzmq | zeromq | 4.3.3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | zeromq | zeromq 4.3.3 |
| n/a | zeromq | 4.3.3 |
Timeline
- Apr 1, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 7, 2026 Distribution Patch
- Mar 7, 2026 Security Advisory (2 in total, the first dated here)
- Aug 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-20235
vulnetix vdb fixes CVE-2021-20235
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20235/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart