Amazon Linux Security Advisory
ALAS2023-2026-1995
Amazon Linux 2023 - ALAS2023-2026-1995: Important priority package update for python3.9
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-7774: tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.
CVE-2026-4360: In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
CVE-2026-15308: The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python-unversioned-command | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3 | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3-debug | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3-devel | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3-idle | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3-libs | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3-test | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3-tkinter | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3.9-debuginfo | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |
| Amazon Linux:2023 | python3.9-debugsource | All versions before 3.9.25-1.amzn2023.0.9 (fixed in 3.9.25-1.amzn2023.0.9) |