ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2023-003

Amazon Linux 2023 - ALAS2023-2023-003: Important priority package update for zlib

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2022-37434: zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).

CVE-2018-25032: An out-of-bounds access flaw was found in zlib, which allows memory corruption when deflating (ex: when compressing) if the input has many distant matches. For some rare inputs with a large number of distant matches (crafted payloads), the buffer into which the compressed or deflated data is written can overwrite the distance symbol table which it overlays. This issue results in corrupted output due to invalid distances, which leads to out-of-bound access, corrupting the memory and potentially crashing the application.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023minizip-compat
All versions before 1.2.11-33.amzn2023.0.4 (fixed in 1.2.11-33.amzn2023.0.4)
Amazon Linux:2023minizip-compat-debuginfo
All versions before 1.2.11-33.amzn2023.0.4 (fixed in 1.2.11-33.amzn2023.0.4)
Amazon Linux:2023minizip-compat-devel
All versions before 1.2.11-33.amzn2023.0.4 (fixed in 1.2.11-33.amzn2023.0.4)
Amazon Linux:2023zlib
All versions before 1.2.11-33.amzn2023.0.4 (fixed in 1.2.11-33.amzn2023.0.4)
Amazon Linux:2023zlib-debuginfo
All versions before 1.2.11-33.amzn2023.0.4 (fixed in 1.2.11-33.amzn2023.0.4)
Amazon Linux:2023zlib-debugsource
All versions before 1.2.11-33.amzn2023.0.4 (fixed in 1.2.11-33.amzn2023.0.4)
Amazon Linux:2023zlib-devel
All versions before 1.2.11-33.amzn2023.0.4 (fixed in 1.2.11-33.amzn2023.0.4)
Amazon Linux:2023zlib-static
All versions before 1.2.11-33.amzn2023.0.4 (fixed in 1.2.11-33.amzn2023.0.4)

References