{"id":"CVE-2021-20235","published":"2021-04-01T13:47:05Z","modified":"2024-08-03T17:37:22Z","title":"There's a flaw in the zeromq server in versions before 4.3.3 in src/decoder_allocators.hpp","vendor":null,"product":null,"tier":"core","eol":null,"affectedVersions":[{"vendor":"n/a","product":"zeromq","versions":["zeromq 4.3.3"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw lies in the ZeroMQ server's decoder static allocator, in src/decoder_allocators.hpp, where the allocator's size can be changed while its buffer remains fixed, leading to a buffer overflow condition. A remote, unauthenticated attacker who sends a crafted request can trigger a write of arbitrary data past the buffer, but only when CURVE/ZAP authentication is not enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:07Z"},"cvss":null,"epss":{"score":0.43862,"percentile":0.99055,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1921983","tags":["x_refsource_MISC"]},{"url":"https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-7674","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-7674","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-04-01","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-20235","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":19.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.81,"detail":"percentile 0.9906"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}