synced 8 MIN AGO
01 Record

CVE-2024-9287

Virtual environment (venv) activation scripts don't quote paths

MediumPUBLISHEDCNA: PSF
CNA base score5.3 CVSS v4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Green

02 Description

Virtual environment (venv) activation scripts don't quote paths

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.64% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 50.9% of scored records. A rank, not a probability.
NVD base score
5.3 (CVSS v4.0), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-10-22 16:34Z2 YR AGO
Last updated
2025-11-03 22:33Z11 MO AGO
Reserved
2024-09-27
Assigning CNA
PSF
Record state
PUBLISHED
Severity
Medium (CVSS 5.3)
CNA CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/U:Green
Weaknesses
  • CWE-428Unquoted Search Path or ElementBase
  • CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')Class
Data version
5.2
Document digest
48b08d16ba10822ca9e462d08ffd2b0e1872a383f09feb280c03ab712482993e

05 Affected products

VendorProductVersionsPlatforms
Python Software FoundationCPython0 to < 3.9.21, 3.10.0 to < 3.10.16, 3.11.0 to < 3.11.11, 3.12.0 to < 3.12.8, 3.13.0 to < 3.13.1, 3.14.0a1 to < 3.14.0a2—
pythoncpython0 to 3.13.0—

06 References

07 Fixed in

AlmaLinux 8

  • platform-python
    Fixed in 3.6.8-69.el8_10.alma.1
  • platform-python-debug
    Fixed in 3.6.8-69.el8_10.alma.1
  • platform-python-devel
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3-idle
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3-libs
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3-test
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3-tkinter
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3.11
    Fixed in 3.11.11-1.el8_10
  • python3.11-debug
    Fixed in 3.11.11-1.el8_10
  • python3.11-devel
    Fixed in 3.11.11-1.el8_10
  • python3.11-idle
    Fixed in 3.11.11-1.el8_10
  • python3.11-libs
    Fixed in 3.11.11-1.el8_10
  • python3.11-rpm-macros
    Fixed in 3.11.11-1.el8_10
  • python3.11-test
    Fixed in 3.11.11-1.el8_10
  • python3.11-tkinter
    Fixed in 3.11.11-1.el8_10
  • python3.12
    Fixed in 3.12.8-1.el8_10
  • python3.12-debug
    Fixed in 3.12.8-1.el8_10
  • python3.12-devel
    Fixed in 3.12.8-1.el8_10
  • python3.12-idle
    Fixed in 3.12.8-1.el8_10
  • python3.12-libs
    Fixed in 3.12.8-1.el8_10
  • python3.12-rpm-macros
    Fixed in 3.12.8-1.el8_10
  • python3.12-test
    Fixed in 3.12.8-1.el8_10
  • python3.12-tkinter
    Fixed in 3.12.8-1.el8_10
  • python39
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-Cython
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
    • Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
  • python39-PyMySQL
    Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
  • python39-attrs
    Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
    • Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-chardet
    Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
  • python39-cryptography
    Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
  • python39-debug
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-devel
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-idle
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-idna
    Fixed in 2.10-4.module_el8.10.0+3849+a48d89aa
  • python39-iniconfig
    Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
  • python39-libs
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-lxml
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
    • Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
  • python39-mod_wsgi
    Fixed in 4.7.1-7.module_el8.10.0+3989+a618fe15.1
  • python39-more-itertools
    Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
  • python39-numpy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c

32 further packages in AlmaLinux 8 not shown (first 40 listed).

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • python-unversioned-command
    Fixed in 3.9.21-1.el9_5
  • python3
    Fixed in 3.9.21-1.el9_5
  • python3-debug
    Fixed in 3.9.21-1.el9_5
  • python3-devel
    Fixed in 3.9.21-1.el9_5
  • python3-idle
    Fixed in 3.9.21-1.el9_5
  • python3-libs
    Fixed in 3.9.21-1.el9_5
  • python3-test
    Fixed in 3.9.21-1.el9_5
  • python3-tkinter
    Fixed in 3.9.21-1.el9_5
  • python3.11
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-debug
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-devel
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-idle
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-libs
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-test
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-tkinter
    Fixed in 3.11.9-7.el9_5.2
  • python3.12
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-debug
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-devel
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-idle
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-libs
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-test
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-tkinter
    Fixed in 3.12.5-2.el9_5.2

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • platform-python
    Fixed in 3.6.8-69.el8_10.alma.1
  • platform-python-debug
    Fixed in 3.6.8-69.el8_10.alma.1
  • platform-python-devel
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3-idle
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3-libs
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3-test
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3-tkinter
    Fixed in 3.6.8-69.el8_10.alma.1
  • python3.11
    Fixed in 3.11.11-1.el8_10
  • python3.11-debug
    Fixed in 3.11.11-1.el8_10
  • python3.11-devel
    Fixed in 3.11.11-1.el8_10
  • python3.11-idle
    Fixed in 3.11.11-1.el8_10
  • python3.11-libs
    Fixed in 3.11.11-1.el8_10
  • python3.11-rpm-macros
    Fixed in 3.11.11-1.el8_10
  • python3.11-test
    Fixed in 3.11.11-1.el8_10
  • python3.11-tkinter
    Fixed in 3.11.11-1.el8_10
  • python3.12
    Fixed in 3.12.8-1.el8_10
  • python3.12-debug
    Fixed in 3.12.8-1.el8_10
  • python3.12-devel
    Fixed in 3.12.8-1.el8_10
  • python3.12-idle
    Fixed in 3.12.8-1.el8_10
  • python3.12-libs
    Fixed in 3.12.8-1.el8_10
  • python3.12-rpm-macros
    Fixed in 3.12.8-1.el8_10
  • python3.12-test
    Fixed in 3.12.8-1.el8_10
  • python3.12-tkinter
    Fixed in 3.12.8-1.el8_10
  • python39
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-Cython
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
    • Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
  • python39-PyMySQL
    Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
  • python39-attrs
    Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
    • Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-chardet
    Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
  • python39-cryptography
    Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
  • python39-debug
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-devel
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-idle
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-idna
    Fixed in 2.10-4.module_el8.10.0+3849+a48d89aa
  • python39-iniconfig
    Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
  • python39-libs
    Fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb
  • python39-lxml
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
    • Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
  • python39-mod_wsgi
    Fixed in 4.7.1-7.module_el8.10.0+3989+a618fe15.1
  • python39-more-itertools
    Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
  • python39-numpy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c

32 further packages in CloudLinux 8 not shown (first 40 listed).

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • python-unversioned-command
    Fixed in 3.9.21-1.el9_5
  • python3
    Fixed in 3.9.21-1.el9_5
  • python3-debug
    Fixed in 3.9.21-1.el9_5
  • python3-devel
    Fixed in 3.9.21-1.el9_5
  • python3-idle
    Fixed in 3.9.21-1.el9_5
  • python3-libs
    Fixed in 3.9.21-1.el9_5
  • python3-test
    Fixed in 3.9.21-1.el9_5
  • python3-tkinter
    Fixed in 3.9.21-1.el9_5
  • python3.11
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-debug
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-devel
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-idle
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-libs
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-test
    Fixed in 3.11.9-7.el9_5.2
  • python3.11-tkinter
    Fixed in 3.11.9-7.el9_5.2
  • python3.12
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-debug
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-devel
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-idle
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-libs
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-test
    Fixed in 3.12.5-2.el9_5.2
  • python3.12-tkinter
    Fixed in 3.12.5-2.el9_5.2

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • pypy3
    Fixed in 7.3.11+dfsg-2+deb12u3
  • python3.11
    Fixed in 3.11.2-6+deb12u5

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • pypy3
    Fixed in 7.3.17+dfsg-3
  • python3.13
    Fixed in 3.13.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • pypy3
    Fixed in 7.3.17+dfsg-3
  • python3.13
    Fixed in 3.13.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • python3.8
    Fixed in 3.8.10-0ubuntu1~20.04.16

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • python3.10
    Fixed in 3.10.12-1~22.04.7

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • python3.12
    Fixed in 3.12.3-1ubuntu0.3

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • python3.4
    Fixed in 3.4.3-1ubuntu1~14.04.7+esm14
    Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
  • python3.5
    Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4
    Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • python3.5
    Fixed in 3.5.2-2ubuntu0~16.04.13+esm16
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • python3.6
    Fixed in 3.6.9-1~18.04ubuntu1.13+esm3
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • python3.7
    Fixed in 3.7.5-2ubuntu1~18.04.2+esm4
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • python3.8
    Fixed in 3.8.0-3ubuntu1~18.04.2+esm3
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • python3.9
    Fixed in 3.9.5-3ubuntu0~20.04.1+esm3
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • python3.11
    Fixed in 3.11.0~rc1-1~22.04.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.