Heap-based buffer overflow in Zlib - CVE-2022-37434

 

Heap-based buffer overflow in Zlib - CVE-2022-37434

Published: August 7, 2022 / Updated: October 23, 2023


Vulnerability identifier: #VU66153
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2022-37434
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: GNU
Affected software:
Zlib

Detailed vulnerability 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.



How to mitigate CVE-2022-37434

Install update from vendor's website.

Sources