CVEfocus › CVE database › CVE-2021-20235

CVE-2021-20235

CVSS 8.1 HighEPSS 43.9% (in the top 1% of all CVEs)Published 2021-04-01Updated 2024-08-03Assigner: redhat

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.

CWE-120

What to do

Likely to be exploited: EPSS gives a 44% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian: 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

3Fixed
3Fix pending
4Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04zeromq3Not affected
vulnerable_code_not_present
Ubuntu 25.10zeromq3Not affected
vulnerable_code_not_present
Ubuntu 24.04zeromq3Not affected
vulnerable_code_not_present
Ubuntu 22.04zeromq3Not affected
vulnerable_code_not_present
Ubuntu 20.04zeromq3Fix pending4.3.2-2ubuntu1.20.04.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2021-20235
Ubuntu 18.04zeromq3Fix pending4.2.5-1ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2021-20235
Ubuntu 16.04zeromq3Fix pending
Debian 14zeromq3Fixed4.3.3-1DEBIAN-CVE-2021-20235
Debian 13zeromq3Fixed4.3.3-1DEBIAN-CVE-2021-20235
Debian 12zeromq3Fixed4.3.3-1DEBIAN-CVE-2021-20235

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

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.