Summary
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.
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python-unversioned-command | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3 | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3-debug | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3-devel | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3-idle | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3-libs | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3-test | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3-tkinter | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3.9-debuginfo | 0:3.9.25-1.amzn2023.0.9 |
| Amazon Linux · 2023 | python3.9-debugsource | 0:3.9.25-1.amzn2023.0.9 |
Vulnerabilities 3
-
High 8.7
Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations
The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
-
Medium 6.9
tarfile.data_filter path traversal bypass allows writing outside the extraction directory
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.extract…
-
Low 2.0
Tarfile.extract() doesn't fully respect filter parameter
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='…