Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2024-9287 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')[email protected]
CWE-428Unquoted Search Path or Element[email protected]

Affected Products

ProductVersions
python python
< 3.9.21
>= 3.10.0, < 3.10.16
>= 3.11.0, < 3.11.11
>= 3.12.0, < 3.12.8
>= 3.13.0, < 3.13.1

CPE

  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.14.0:alpha1:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

12 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2024-9287
NVD Published Date:
Oct 22, 2024
NVD Last Modified:
Oct 30, 2026
Source:
[email protected]
CVE-2024-9287 Details - Not Deferred