Ubuntu update for zlib



Published: 2022-08-18 | Updated: 2022-10-17
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-37434
CWE-ID CWE-122
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

zlib1g (Ubuntu package)
Operating systems & Components / Operating system package or component

libx32z1 (Ubuntu package)
Operating systems & Components / Operating system package or component

lib64z1 (Ubuntu package)
Operating systems & Components / Operating system package or component

lib32z1 (Ubuntu package)
Operating systems & Components / Operating system package or component

zlib-bin (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU66153

Risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-37434

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing a large gzip header within inflateGetHeader in inflate.c. A remote attacker can pass a specially crafted file to the affected application, trigger heap-based buffer overflow and execute arbitrary code on the target system.


Mitigation

Update the affected package zlib to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 18.04

zlib1g (Ubuntu package): before 1:1.2.11.dfsg-0ubuntu2.2

libx32z1 (Ubuntu package): before 1:1.2.11.dfsg-0ubuntu2.2

lib64z1 (Ubuntu package): before 1:1.2.11.dfsg-0ubuntu2.2

lib32z1 (Ubuntu package): before 1:1.2.11.dfsg-0ubuntu2.2

zlib-bin (Ubuntu package): before 1.2.8.dfsg-1ubuntu1

External links

http://ubuntu.com/security/notices/USN-5570-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###