Amazon Linux 2023 Security Advisory: ALAS-2025-900
Advisory Release Date: 2025-03-13 04:48 Pacific
Advisory Updated Date: 2025-03-26 11:28 Pacific
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. (CVE-2024-11168)
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-9287)
Affected Packages:
python3.9
Issue Correction:
Run dnf update python3.9 --releasever 2023.6.20250317 to update your system.
aarch64:
python3.9-debugsource-3.9.21-1.amzn2023.0.1.aarch64
python3-3.9.21-1.amzn2023.0.1.aarch64
python3-idle-3.9.21-1.amzn2023.0.1.aarch64
python3-devel-3.9.21-1.amzn2023.0.1.aarch64
python3-tkinter-3.9.21-1.amzn2023.0.1.aarch64
python3-debug-3.9.21-1.amzn2023.0.1.aarch64
python3.9-debuginfo-3.9.21-1.amzn2023.0.1.aarch64
python3-libs-3.9.21-1.amzn2023.0.1.aarch64
python3-test-3.9.21-1.amzn2023.0.1.aarch64
noarch:
python-unversioned-command-3.9.21-1.amzn2023.0.1.noarch
src:
python3.9-3.9.21-1.amzn2023.0.1.src
x86_64:
python3-3.9.21-1.amzn2023.0.1.x86_64
python3-devel-3.9.21-1.amzn2023.0.1.x86_64
python3.9-debugsource-3.9.21-1.amzn2023.0.1.x86_64
python3-idle-3.9.21-1.amzn2023.0.1.x86_64
python3-debug-3.9.21-1.amzn2023.0.1.x86_64
python3-tkinter-3.9.21-1.amzn2023.0.1.x86_64
python3.9-debuginfo-3.9.21-1.amzn2023.0.1.x86_64
python3-test-3.9.21-1.amzn2023.0.1.x86_64
python3-libs-3.9.21-1.amzn2023.0.1.x86_64