Out-of-bounds Write Affecting zeromq3 package, versions <4.3.2-2ubuntu1.20.04.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
43.86% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-ZEROMQ3-1076649
  • published18 Feb 2021
  • disclosed1 Apr 2021

Introduced: 18 Feb 2021

CVE-2021-20235  (opens in a new tab)
CWE-787  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 zeromq3 to version 4.3.2-2ubuntu1.20.04.1~esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zeromq3 package and not the zeromq3 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1