Amazon Linux Security Advisory
ALAS2023-2026-1931
Amazon Linux 2023 - ALAS2023-2026-1931: Important priority package update for python3.12
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-8328: The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed. While makepasv() was patched to replace server-supplied PASV host addresses with the actual peer address (getpeername()[0]), ftpcp() still calls parse227() directly and passes the raw attacker-controllable IP address and port to target.sendport(). This patch is related to CVE-2021-4189.
CVE-2026-7210: xml.parsers.expat and xml.etree.ElementTree use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\\r\\n\\r\\nFully mitigating this vulnerability requires both updating libexpat to 2.8.0 or later and applying this patch.
CVE-2026-11940: tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself. The extraction fallback validated the symlink at it's archived location but recreated it at the hardlink's shallower path, letting a relative target the filter judged contained escape the destination directory. This allowed a malicious tar archive to create a symlink pointing outside the destination, enabling out-of-destination file reads or writes. This was an incomplete fix of CVE-2025-4330.
CVE-2025-13462: The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python3.12 | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |
| Amazon Linux:2023 | python3.12-debug | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |
| Amazon Linux:2023 | python3.12-debuginfo | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |
| Amazon Linux:2023 | python3.12-debugsource | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |
| Amazon Linux:2023 | python3.12-devel | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |
| Amazon Linux:2023 | python3.12-idle | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |
| Amazon Linux:2023 | python3.12-libs | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |
| Amazon Linux:2023 | python3.12-test | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |
| Amazon Linux:2023 | python3.12-tkinter | All versions before 3.12.13-2.amzn2023.0.3 (fixed in 3.12.13-2.amzn2023.0.3) |