CVE-2024-9287 Affecting python-3.9 package, versions <3.9.20-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available

    Threat Intelligence

    EPSS
    0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CHAINGUARDLATEST-PYTHON39-8400192
  • published 20 Nov 2024
  • disclosed 22 Oct 2024

How to fix?

Upgrade Chainguard python-3.9 to version 3.9.20-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-3.9 package and not the python-3.9 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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 Scores

version 3.1
Expand this section

Red Hat

6.3 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

SUSE

6.5 medium