icon

We found results for “

CVE-2024-9287

Good to know:

icon

Date: October 22, 2024

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.

Language: Python

Severity Score

Severity Score

Weakness Type (CWE)

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-77

Unquoted Search Path or Element

CWE-428

Top Fix

icon

Upgrade Version

Upgrade to version Microsoft.NET.Runtime.Emscripten.3.1.34.Python.osx-x64 - no_fix;Microsoft.NET.Runtime.Emscripten.3.1.34.Python.osx-x64 - 8.0.14;firecloud - no_fix;python-full-x86 - 3.6.1;python-full-x86 - 3.5.1;Microsoft.NET.Runtime.Emscripten.3.1.56.Python.osx-arm64 - 10.0.0-preview.2.25120.1;Microsoft.NET.Runtime.Emscripten.3.1.56.Python.osx-arm64 - 9.0.3;python - 3.11.6;python - 3.10.16;python - 3.13.1;python - 3.10.7;python - 3.8.14;python - 3.12.8;python - 3.10.3;python - 3.7.3;python - 3.11.1;python - 3.9.11;python - 3.9.14;python - 3.11.11;Microsoft.NET.Runtime.Emscripten.2.0.23.Python.osx-x64 - no_fix;Microsoft.NET.Runtime.Emscripten.3.1.12.Python.osx-x64 - no_fix;Microsoft.NET.Runtime.Emscripten.3.1.34.Python.osx-arm64 - 8.0.14;Microsoft.NET.Runtime.Emscripten.3.1.34.Python.osx-arm64 - no_fix;michaeld555/nfe-parser - no_fix;michaeld555/pdf-converter - no_fix;michaeld555/pdf-converter - v1.0.0;python-full-x64 - 3.6.1;python-full-x64 - 3.5.1;Microsoft.NET.Runtime.Emscripten.2.0.21.Python.osx-x64 - no_fix;python3 - 3.8.2;Microsoft.NET.Runtime.Emscripten.3.1.7.Python.osx-x64 - no_fix;rustpython-pylib - no_fix;Microsoft.NET.Runtime.Emscripten.3.1.30.Python.osx-x64 - no_fix;Microsoft.NET.Runtime.Emscripten.3.1.56.Python.osx-x64 - 9.0.3;Microsoft.NET.Runtime.Emscripten.3.1.56.Python.osx-x64 - 10.0.0-preview.2.25120.1;google-cloud-sdk - 411.0.0;Microsoft.NET.Runtime.Emscripten.2.0.12.Python.osx-x64 - no_fix

Learn More

CVSS v3.1

Base Score:
Attack Vector (AV): LOCAL
Attack Complexity (AC): LOW
Privileges Required (PR): LOW
User Interaction (UI): NONE
Scope (S): UNCHANGED
Confidentiality (C): HIGH
Integrity (I): HIGH
Availability (A): HIGH

Do you need more information?

Contact Us