ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-871

Amazon Linux 2023 - ALAS2023-2025-871: Medium priority package update for python3.11

Details

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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023python3.11
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)
Amazon Linux:2023python3.11-debug
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)
Amazon Linux:2023python3.11-debuginfo
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)
Amazon Linux:2023python3.11-debugsource
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)
Amazon Linux:2023python3.11-devel
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)
Amazon Linux:2023python3.11-idle
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)
Amazon Linux:2023python3.11-libs
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)
Amazon Linux:2023python3.11-test
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)
Amazon Linux:2023python3.11-tkinter
All versions before 3.11.11-5.amzn2023.0.1 (fixed in 3.11.11-5.amzn2023.0.1)

References