ALAS2023-2023-003


Amazon Linux 2023 Security Advisory: ALAS-2023-003
Advisory Release Date: 2023-02-17 20:42 Pacific
Advisory Updated Date: 2023-02-23 00:01 Pacific
Severity: Important

Issue Overview:

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. (CVE-2018-25032)

A security vulnerability was found in zlib. The flaw triggered a heap-based buffer in inflate in the inflate.c function via a large gzip header extra field. This flaw is only applicable in the call inflateGetHeader. (CVE-2022-37434)


Affected Packages:

zlib


Issue Correction:
Run dnf update zlib --releasever=2023.0.20230222 to update your system.

New Packages:
aarch64:
    zlib-debugsource-1.2.11-33.amzn2023.0.4.aarch64
    minizip-compat-debuginfo-1.2.11-33.amzn2023.0.4.aarch64
    minizip-compat-1.2.11-33.amzn2023.0.4.aarch64
    minizip-compat-devel-1.2.11-33.amzn2023.0.4.aarch64
    zlib-debuginfo-1.2.11-33.amzn2023.0.4.aarch64
    zlib-devel-1.2.11-33.amzn2023.0.4.aarch64
    zlib-static-1.2.11-33.amzn2023.0.4.aarch64
    zlib-1.2.11-33.amzn2023.0.4.aarch64

src:
    zlib-1.2.11-33.amzn2023.0.4.src

x86_64:
    zlib-debugsource-1.2.11-33.amzn2023.0.4.x86_64
    minizip-compat-devel-1.2.11-33.amzn2023.0.4.x86_64
    zlib-static-1.2.11-33.amzn2023.0.4.x86_64
    zlib-1.2.11-33.amzn2023.0.4.x86_64
    zlib-debuginfo-1.2.11-33.amzn2023.0.4.x86_64
    minizip-compat-debuginfo-1.2.11-33.amzn2023.0.4.x86_64
    zlib-devel-1.2.11-33.amzn2023.0.4.x86_64
    minizip-compat-1.2.11-33.amzn2023.0.4.x86_64