Amazon Linux Security Advisory
ALAS2023-2026-1832
Amazon Linux 2023 - ALAS2023-2026-1832: Medium priority package update for python3.11
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.11 | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.11-debug | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.11-debuginfo | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.11-debugsource | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.11-devel | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.11-idle | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.11-libs | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.11-test | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |
| Amazon Linux:2023 | python3.11-tkinter | All versions before 3.11.15-1.amzn2023.0.2 (fixed in 3.11.15-1.amzn2023.0.2) |