Amazon Linux Security Advisory
ALAS2023-2026-1821
Amazon Linux 2023 - ALAS2023-2026-1821: Medium priority package update for python3.12
Details
Package updates are available for Amazon Linux 2023 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-2297: The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python3.12 | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |
| Amazon Linux:2023 | python3.12-debug | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |
| Amazon Linux:2023 | python3.12-debuginfo | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |
| Amazon Linux:2023 | python3.12-debugsource | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |
| Amazon Linux:2023 | python3.12-devel | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |
| Amazon Linux:2023 | python3.12-idle | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |
| Amazon Linux:2023 | python3.12-libs | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |
| Amazon Linux:2023 | python3.12-test | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |
| Amazon Linux:2023 | python3.12-tkinter | All versions before 3.12.13-2.amzn2023.0.2 (fixed in 3.12.13-2.amzn2023.0.2) |