VDB

ALPINE-CVE-2024-9287

ALPINE-CVE-2024-9287 PUBLISHED CVSS 7.800000190734863 HIGH

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.

Risk Scores

CVSS v3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.18python33.10.0-r1, 3.10.1-r0, 3.10.2-r0
Alpine:v3.20python33.6.1-r0, 3.10.7-r0, 3.10.2-r1
Alpine:v3.19python33.6.1-r1, 3.6.0-r0, 3.5.2-r9
Alpine:v3.22python33.12.3-r1, 3.12.4-r0, 3.12.5-r0
Alpine:v3.21python33.10.1-r0, 0, 3.1.3-r0
Alpine:v3.23python30, 3.10.0-r0, 3.10.0-r1

Timeline

  • Oct 22, 2024 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›