CVE-2024-9287 Affecting python3.12-devel package, versions <0:3.12.5-2.el9_5.2


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-PYTHON312DEVEL-8548613
  • published24 Dec 2024
  • disclosed16 Dec 2024

Introduced: 16 Dec 2024

NewCVE-2024-9287  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 python3.12-devel to version 0:3.12.5-2.el9_5.2 or higher.
This issue was patched in ALSA-2024:10978.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-devel package and not the python3.12-devel package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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.

CVSS Scores

version 3.1