ADVISORIES

Amazon Linux Security Advisory

ALAS2-2026-3826

Amazon Linux 2 2017.12 - ALAS2-2026-3826: important priority package update for python3

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-6019: http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.

CVE-2026-11972: When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python3
All versions before 3.7.16-1.amzn2.0.28 (fixed in 3.7.16-1.amzn2.0.28)
Amazon Linux:2python3-debug
All versions before 3.7.16-1.amzn2.0.28 (fixed in 3.7.16-1.amzn2.0.28)
Amazon Linux:2python3-debuginfo
All versions before 3.7.16-1.amzn2.0.28 (fixed in 3.7.16-1.amzn2.0.28)
Amazon Linux:2python3-devel
All versions before 3.7.16-1.amzn2.0.28 (fixed in 3.7.16-1.amzn2.0.28)
Amazon Linux:2python3-libs
All versions before 3.7.16-1.amzn2.0.28 (fixed in 3.7.16-1.amzn2.0.28)
Amazon Linux:2python3-test
All versions before 3.7.16-1.amzn2.0.28 (fixed in 3.7.16-1.amzn2.0.28)
Amazon Linux:2python3-tkinter
All versions before 3.7.16-1.amzn2.0.28 (fixed in 3.7.16-1.amzn2.0.28)
Amazon Linux:2python3-tools
All versions before 3.7.16-1.amzn2.0.28 (fixed in 3.7.16-1.amzn2.0.28)

References