CVE-2024-53899

HIGH EPSS 72.1%
Published Nov 24, 20241y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
Published Nov 24, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

Description

virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. Magic template strings are not quoted correctly when replacing. NOTE: this is not the same as CVE-2024-9287.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
72.1% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 2

CWE-77 Command Injection Injection
CWE-78 OS Command Injection Injection

Affected Products 1

VendorProductVersionRange
virtualenvvirtualenv* <20.26.6

References 3

  • github.com https://github.com/pypa/virtualenv/issues/2768
    Exploit
  • github.com https://github.com/pypa/virtualenv/pull/2771
    Patch
  • github.com https://github.com/pypa/virtualenv/releases/tag/20.26.6
    Release Notes

Remediation

  • github.com https://github.com/pypa/virtualenv/pull/2771
    Patch