Amazon Linux AMI update for zlib



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
Amazon Linux AMI
Operating systems & Components / Operating system

zlib
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU66153

Risk: High

CVSSv4.0: 8.2 [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 - 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 packages:

i686:
    zlib-1.2.8-7.20.amzn1.i686
    minizip-1.2.8-7.20.amzn1.i686
    zlib-static-1.2.8-7.20.amzn1.i686
    minizip-devel-1.2.8-7.20.amzn1.i686
    zlib-devel-1.2.8-7.20.amzn1.i686
    zlib-debuginfo-1.2.8-7.20.amzn1.i686

src:
    zlib-1.2.8-7.20.amzn1.src

x86_64:
    minizip-1.2.8-7.20.amzn1.x86_64
    minizip-devel-1.2.8-7.20.amzn1.x86_64
    zlib-debuginfo-1.2.8-7.20.amzn1.x86_64
    zlib-static-1.2.8-7.20.amzn1.x86_64
    zlib-1.2.8-7.20.amzn1.x86_64
    zlib-devel-1.2.8-7.20.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

zlib: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2022-1650.html


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. However, proof of concept for this vulnerability is available.



###SIDEBAR###