Summary
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.
Fixed packages 9
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python3.11 | 0:3.11.15-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-debug | 0:3.11.15-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-debuginfo | 0:3.11.15-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-debugsource | 0:3.11.15-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-devel | 0:3.11.15-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-idle | 0:3.11.15-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-libs | 0:3.11.15-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-test | 0:3.11.15-1.amzn2023.0.2 |
| Amazon Linux · 2023 | python3.11-tkinter | 0:3.11.15-1.amzn2023.0.2 |
Vulnerabilities 2
-
Medium 5.7
SourcelessFileLoader does not use io.open_code()
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.
-
Low 2.1
BaseCookie.js_output() does not neutralize embedded characters
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 …