Amazon Linux Security Advisory
ALAS2-2022-1772
Amazon Linux 2 2017.12 - ALAS2-2022-1772: important priority package update for zlib
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: 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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | minizip | All versions before 1.2.7-19.amzn2.0.1 (fixed in 1.2.7-19.amzn2.0.1) |
| Amazon Linux:2 | minizip-devel | All versions before 1.2.7-19.amzn2.0.1 (fixed in 1.2.7-19.amzn2.0.1) |
| Amazon Linux:2 | zlib | All versions before 1.2.7-19.amzn2.0.1 (fixed in 1.2.7-19.amzn2.0.1) |
| Amazon Linux:2 | zlib-debuginfo | All versions before 1.2.7-19.amzn2.0.1 (fixed in 1.2.7-19.amzn2.0.1) |
| Amazon Linux:2 | zlib-devel | All versions before 1.2.7-19.amzn2.0.1 (fixed in 1.2.7-19.amzn2.0.1) |
| Amazon Linux:2 | zlib-static | All versions before 1.2.7-19.amzn2.0.1 (fixed in 1.2.7-19.amzn2.0.1) |