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
| Release | Package | Fixed 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
-
Medium 6.3
Improper validation of IPv6 and IPvFuture addresses
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 U…
-
Medium 5.3
Virtual environment (venv) activation scripts don't quote paths
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/…