Amazon Linux Security Advisory
ALAS2023-2026-1933
Amazon Linux 2023 - ALAS2023-2026-1933: Medium priority package update for python3.9
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-3479: pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.
CVE-2026-3446: When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was more information to be processed. This can lead to data being accepted which may be processed differently by other implementations. Use "validate=True" to enable stricter processing of base64 data.
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 | python-unversioned-command | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3 | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3-debug | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3-devel | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3-idle | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3-libs | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3-test | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3-tkinter | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3.9-debuginfo | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |
| Amazon Linux:2023 | python3.9-debugsource | All versions before 3.9.25-1.amzn2023.0.7 (fixed in 3.9.25-1.amzn2023.0.7) |