Skip to content

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 s...

HighCVSS 8.1 EPSS 43.9%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/zeromq3(Debian 12) < 4.3.3-1 4.3.3-1 Fixed
debian/zeromq3(Debian 13) < 4.3.3-1 4.3.3-1 Fixed
debian/zeromq3(Debian 14) < 4.3.3-1 4.3.3-1 Fixed
ubuntu/zeromq3(Ubuntu Pro 18.04) < 4.2.5-1ubuntu0.2+esm2; = 4.2.1-4ubuntu1; = 4.2.2-1ubuntu2; = 4.2.3-1 +5 more 4.2.5-1ubuntu0.2+esm2 Fixed
ubuntu/zeromq3(Ubuntu Pro 20.04) < 4.3.2-2ubuntu1.20.04.1~esm2; = 4.3.2-1; = 4.3.2-2; = 4.3.2-2ubuntu1 +1 more 4.3.2-2ubuntu1.20.04.1~esm2 Fixed
zeromq libzmq >= 4.2.0, < 4.3.3 4.3.3 Fixed

Affected products

ProductAffected versionsFixed in
debian/zeromq3(Debian:12) < 4.3.3-1 4.3.3-1
debian/zeromq3(Debian:13) < 4.3.3-1 4.3.3-1
debian/zeromq3(Debian:14) < 4.3.3-1 4.3.3-1
zeromq libzmq >= 4.2.0, < 4.3.3 4.3.3
ubuntu/zeromq3(Ubuntu:Pro:18.04) < 4.2.5-1ubuntu0.2+esm2 4.2.5-1ubuntu0.2+esm2
ubuntu/zeromq3(Ubuntu:Pro:18.04) = 4.2.1-4ubuntu1 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:18.04) = 4.2.2-1ubuntu2 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:18.04) = 4.2.3-1 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:18.04) = 4.2.3-1build1 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:18.04) = 4.2.5-1 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:18.04) = 4.2.5-1ubuntu0.1 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:18.04) = 4.2.5-1ubuntu0.2 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:18.04) = 4.2.5-1ubuntu0.2+esm1 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:20.04) < 4.3.2-2ubuntu1.20.04.1~esm2 4.3.2-2ubuntu1.20.04.1~esm2
ubuntu/zeromq3(Ubuntu:Pro:20.04) = 4.3.2-1 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:20.04) = 4.3.2-2 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:20.04) = 4.3.2-2ubuntu1 No fix listed
ubuntu/zeromq3(Ubuntu:Pro:20.04) = 4.3.2-2ubuntu1.20.04.1~esm1 No fix listed

References