Skip to content
OpenAdvisories
Medium ALAS2023-2025-871 3 CVEs

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

Published Feb 26, 2025 · Updated Mar 21, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-1795: During an address list folding when a separating comma ends up on a folded line and that line is to be unicode-encoded then the separator itself is also unicode-encoded. Expected behavior is that the separating comma remains a plan comma. This can result in the address header being misinterpreted by some mail servers. CVE-2025-0938: The Python standard library functions `urllib.parse.urlsplit` and `urlparse` accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and other specification-compliant URL parsers. CVE-2024-9287: A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie "./venv/bin/python") are not affected.

Fixed packages 9

ReleasePackageFixed in
Amazon Linux · 2023 python3.11 0:3.11.11-5.amzn2023.0.1
Amazon Linux · 2023 python3.11-debug 0:3.11.11-5.amzn2023.0.1
Amazon Linux · 2023 python3.11-debuginfo 0:3.11.11-5.amzn2023.0.1
Amazon Linux · 2023 python3.11-debugsource 0:3.11.11-5.amzn2023.0.1
Amazon Linux · 2023 python3.11-devel 0:3.11.11-5.amzn2023.0.1
Amazon Linux · 2023 python3.11-idle 0:3.11.11-5.amzn2023.0.1
Amazon Linux · 2023 python3.11-libs 0:3.11.11-5.amzn2023.0.1
Amazon Linux · 2023 python3.11-test 0:3.11.11-5.amzn2023.0.1
Amazon Linux · 2023 python3.11-tkinter 0:3.11.11-5.amzn2023.0.1

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-9287.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-0938.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1795.html