ADVISORIES

Vulnerability

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.

87 advisories report this vulnerability, across 15 ecosystems.

Advisories in Amazon Linux

  • ALAS2-2025-2817

    Amazon Linux 2 2017.12 - ALAS2-2025-2817: medium priority package update for python3

    Medium CVE-2024-9287 Amazon Linux Updated 7 April 2025
  • ALAS2023-2025-808

    Amazon Linux 2023 - ALAS2023-2025-808: Important priority package update for python3.12

    Important CVE-2024-12254CVE-2024-9287 Amazon Linux Updated 24 January 2025
  • ALAS2023-2025-871

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

    Medium CVE-2024-9287CVE-2025-0938CVE-2025-1795 Amazon Linux Updated 21 March 2025
  • ALAS2023-2025-900

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

    Medium CVE-2024-11168CVE-2024-9287 Amazon Linux Updated 26 March 2025

References