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

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

Published Jun 11, 2026 · Updated Jun 22, 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.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

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