CVE-2021-20235

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.
References
Link Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1921983 Issue Tracking Patch Third Party Advisory
https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6 Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:zeromq:libzmq:*:*:*:*:*:*:*:*

History

05 Aug 2022, 17:41

Type Values Removed Values Added
CWE CWE-120

06 Apr 2021, 17:34

Type Values Removed Values Added
CPE cpe:2.3:a:zeromq:libzmq:*:*:*:*:*:*:*:*
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1921983 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1921983 - Issue Tracking, Patch, Third Party Advisory
References (MISC) https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6 - (MISC) https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6 - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 8.1

01 Apr 2021, 14:19

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-01 14:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-20235

Mitre link : CVE-2021-20235

CVE.ORG link : CVE-2021-20235


JSON object : View

Products Affected

zeromq

  • libzmq
CWE
CWE-787

Out-of-bounds Write

CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')