Skip to content
OpenAdvisories
Medium ALAS2023-2025-900 2 CVEs

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

Published Mar 13, 2025 · Updated Mar 26, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: 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. CVE-2024-11168: The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts (`[]`), allowing hosts that weren't IPv6 or IPvFuture. This behavior was not conformant to RFC 3986 and potentially enabled SSRF if a URL is processed by more than one URL parser.

Fixed packages 10

ReleasePackageFixed in
Amazon Linux · 2023 python-unversioned-command 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3-debug 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3-devel 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3-idle 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3-libs 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3-test 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3-tkinter 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3.9-debuginfo 0:3.9.21-1.amzn2023.0.1
Amazon Linux · 2023 python3.9-debugsource 0:3.9.21-1.amzn2023.0.1

Vulnerabilities 2

References

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