ALPINE-CVE-2024-9287

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 22 Oct 2024, 17:15
Last modified:03 Dec 2025, 22:57

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
3.1 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

22 Oct 2024, 17:15
Published
Vulnerability first disclosed
03 Dec 2025, 22:57
Last Modified
Vulnerability information updated

Description

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 Metrics

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

Affected Systems

  • alpinepython3

    < 3.11.11-r0 | < 3.11.11-r0 | < 3.12.8-r0 | < 3.12.8-r0 | < 3.12.8-r0 | < 3.12.8-r0

References (1)