Skip to content
OpenAdvisories
Medium ALAS2023-2026-1821 2 CVEs

Moderate: python3.12 security update (Amazon Linux 2023)

Published Jun 8, 2026 · Updated Jun 8, 2026

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

ReleasePackageFixed in
Amazon Linux · 2023 python3.12 0:3.12.13-2.amzn2023.0.2
Amazon Linux · 2023 python3.12-debug 0:3.12.13-2.amzn2023.0.2
Amazon Linux · 2023 python3.12-debuginfo 0:3.12.13-2.amzn2023.0.2
Amazon Linux · 2023 python3.12-debugsource 0:3.12.13-2.amzn2023.0.2
Amazon Linux · 2023 python3.12-devel 0:3.12.13-2.amzn2023.0.2
Amazon Linux · 2023 python3.12-idle 0:3.12.13-2.amzn2023.0.2
Amazon Linux · 2023 python3.12-libs 0:3.12.13-2.amzn2023.0.2
Amazon Linux · 2023 python3.12-test 0:3.12.13-2.amzn2023.0.2
Amazon Linux · 2023 python3.12-tkinter 0:3.12.13-2.amzn2023.0.2

Vulnerabilities 2

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-2297.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-6019.html