CVE-2021-20235: Buffer Overflow

Published Jan 29, 2021
·
Updated

A flaw was found in zeromq before 4.3.3. The use of a static allocator with ZMTP v1 packets may lead to a heap based overflow.

References:

https://github.com/zeromq/libzmq/pull/3902 https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21984

Other sources

There's a flaw in the zeromq server in versions before 4.3.3 in src/decoderallocators.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.

Launchpad

Affected Software

3 affected componentsFixes available
redhat/zeromq<4.3.3
4.3.3
debian/zeromq3
4.3.4-1+deb11u14.3.4-64.3.5-1
ZeroMQ libzmq>=4.2.0<4.3.3

Event History

Apr 1, 2021
CVE Published
via MITRE·01:47 PM
Data Sourced
via MITRE·01:47 PM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:54 PM
Description
Sep 14, 2024
Data Sourced
via Ubuntu·10:12 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw in the zeromq server?

The vulnerability ID is CVE-2021-20235.

2

What is the severity of CVE-2021-20235?

The severity of CVE-2021-20235 is high, with a severity value of 8.1.

3

What is the affected software for CVE-2021-20235?

The affected software for CVE-2021-20235 includes versions before 4.3.3 of zeromq server.

4

How can an attacker exploit CVE-2021-20235?

A remote, unauthenticated attacker can exploit CVE-2021-20235 by sending a crafted request to the zeromq server.

5

Where can I find more information about CVE-2021-20235?

You can find more information about CVE-2021-20235 on the CVE Mitre website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203