Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-9287

7.8 · HIGH
Published Oct 22, 2024 python CWE-428 EPSS 0.65% (49th pctl)

Overview

CVE-2024-9287 is a high-severity vulnerability affecting python python. It was published on October 22, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from python. Update python to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
python python >= 0, < 3.9.21 Affected

Frequently Asked Questions

What is CVE-2024-9287?

CVE-2024-9287 is a high-severity vulnerability affecting python python. It was published on October 22, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-9287?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-9287?

Check the references section for vendor advisories and patches from python. Update python to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-9287?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-9287 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.