Amazon Linux Security Advisory
ALAS2-2025-2817
Amazon Linux 2 2017.12 - ALAS2-2025-2817: medium priority package update for python3
Details
Package updates are available for Amazon Linux 2 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | python3 | All versions before 3.7.16-1.amzn2.0.17 (fixed in 3.7.16-1.amzn2.0.17) |
| Amazon Linux:2 | python3-debug | All versions before 3.7.16-1.amzn2.0.17 (fixed in 3.7.16-1.amzn2.0.17) |
| Amazon Linux:2 | python3-debuginfo | All versions before 3.7.16-1.amzn2.0.17 (fixed in 3.7.16-1.amzn2.0.17) |
| Amazon Linux:2 | python3-devel | All versions before 3.7.16-1.amzn2.0.17 (fixed in 3.7.16-1.amzn2.0.17) |
| Amazon Linux:2 | python3-libs | All versions before 3.7.16-1.amzn2.0.17 (fixed in 3.7.16-1.amzn2.0.17) |
| Amazon Linux:2 | python3-test | All versions before 3.7.16-1.amzn2.0.17 (fixed in 3.7.16-1.amzn2.0.17) |
| Amazon Linux:2 | python3-tkinter | All versions before 3.7.16-1.amzn2.0.17 (fixed in 3.7.16-1.amzn2.0.17) |
| Amazon Linux:2 | python3-tools | All versions before 3.7.16-1.amzn2.0.17 (fixed in 3.7.16-1.amzn2.0.17) |