Amazon Linux Security Advisory
ALAS2023-2023-002
Amazon Linux 2023 - ALAS2023-2023-002: Important priority package update for rsync
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-2022-29154: A flaw was found in rsync that is triggered by a victim rsync user/client connecting to a malicious rsync server. The server can copy and overwrite arbitrary files in the client's rsync target directory and subdirectories. This flaw allows a malicious server, or in some cases, another attacker who performs a man-in-the-middle attack, to potentially overwrite sensitive files on the client machine, resulting in further exploitation.
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:2023 | rsync | All versions before 3.2.6-1.amzn2023.0.3 (fixed in 3.2.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | rsync-daemon | All versions before 3.2.6-1.amzn2023.0.3 (fixed in 3.2.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | rsync-debuginfo | All versions before 3.2.6-1.amzn2023.0.3 (fixed in 3.2.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | rsync-debugsource | All versions before 3.2.6-1.amzn2023.0.3 (fixed in 3.2.6-1.amzn2023.0.3) |