Amazon Linux 2 Security Advisory: ALAS-2022-1772
Advisory Release Date: 2022-04-04 23:23 Pacific
Advisory Updated Date: 2022-04-06 23:15 Pacific
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)
Affected Packages:
zlib
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update zlib to update your system.
aarch64:
zlib-1.2.7-19.amzn2.0.1.aarch64
zlib-devel-1.2.7-19.amzn2.0.1.aarch64
zlib-static-1.2.7-19.amzn2.0.1.aarch64
minizip-1.2.7-19.amzn2.0.1.aarch64
minizip-devel-1.2.7-19.amzn2.0.1.aarch64
zlib-debuginfo-1.2.7-19.amzn2.0.1.aarch64
i686:
zlib-1.2.7-19.amzn2.0.1.i686
zlib-devel-1.2.7-19.amzn2.0.1.i686
zlib-static-1.2.7-19.amzn2.0.1.i686
minizip-1.2.7-19.amzn2.0.1.i686
minizip-devel-1.2.7-19.amzn2.0.1.i686
zlib-debuginfo-1.2.7-19.amzn2.0.1.i686
src:
zlib-1.2.7-19.amzn2.0.1.src
x86_64:
zlib-1.2.7-19.amzn2.0.1.x86_64
zlib-devel-1.2.7-19.amzn2.0.1.x86_64
zlib-static-1.2.7-19.amzn2.0.1.x86_64
minizip-1.2.7-19.amzn2.0.1.x86_64
minizip-devel-1.2.7-19.amzn2.0.1.x86_64
zlib-debuginfo-1.2.7-19.amzn2.0.1.x86_64