Virtual environment (venv) activation scripts don't quote paths
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Python Software Foundation | CPython | unaffected |
|
Configuration 1 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| python3-0:3.6.8-69.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:10779 | 2024-12-04T00:00:00Z |
| python3.11-0:3.11.11-1.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:10979 | 2024-12-12T00:00:00Z |
| python3.12-0:3.12.8-1.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:10980 | 2024-12-12T00:00:00Z |
| python3-0:3.6.8-69.el8_10 | cpe:/o:redhat:enterprise_linux:8 | RHSA-2024:10779 | 2024-12-04T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| python3.12-0:3.12.5-2.el9_5.2 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:10978 | 2024-12-12T00:00:00Z |
| python3.9-0:3.9.21-1.el9_5 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:10983 | 2024-12-12T00:00:00Z |
| python3.11-0:3.11.9-7.el9_5.2 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:11111 | 2024-12-16T00:00:00Z |
| python3.9-0:3.9.21-1.el9_5 | cpe:/o:redhat:enterprise_linux:9 | RHSA-2024:10983 | 2024-12-12T00:00:00Z |
| Red Hat Enterprise Linux 9.4 Extended Update Support | |||
| python3.9-0:3.9.18-3.el9_4.7 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2024:11024 | 2024-12-12T00:00:00Z |
| python3.12-0:3.12.1-4.el9_4.5 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2024:11035 | 2024-12-13T00:00:00Z |
| python3.11-0:3.11.7-1.el9_4.7 | cpe:/a:redhat:rhel_eus:9.4 | RHSA-2025:0280 | 2025-01-13T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3966-1 | pypy3 security update |
Debian DLA |
DLA-3980-1 | python3.9 security update |
EUVD |
EUVD-2024-50376 | 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. |
Ubuntu USN |
USN-7116-1 | Python vulnerability |
Ubuntu USN |
USN-7348-1 | Python vulnerabilities |
Ubuntu USN |
USN-7488-1 | Python vulnerabilities |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.648% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | ||
| Vendors & Products |
Python cpython
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Python python
|
|
| Weaknesses | CWE-77 | |
| CPEs | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* cpe:2.3:a:python:python:3.14.0:alpha1:*:*:*:*:*:* |
|
| Vendors & Products |
Python python
|
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Eus
|
|
| CPEs | cpe:/a:redhat:rhel_eus:9.4 | |
| Vendors & Products |
Redhat rhel Eus
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:9 cpe:/o:redhat:enterprise_linux:9 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/a:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:8 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Python
Python cpython |
|
| CPEs | cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Python
Python cpython |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Virtual environment (venv) activation scripts don't quote paths | |
| Weaknesses | CWE-428 | |
| References |
| |
| Metrics |
cvssV4_0
|