ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-900

Amazon Linux 2023 - ALAS2023-2025-900: Medium priority package update for python3.9

Details

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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023python-unversioned-command
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3-debug
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3-devel
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3-idle
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3-libs
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3-test
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3-tkinter
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3.9-debuginfo
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)
Amazon Linux:2023python3.9-debugsource
All versions before 3.9.21-1.amzn2023.0.1 (fixed in 3.9.21-1.amzn2023.0.1)

References