CVE-2024-53899

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

Configuration 1 (hide)

cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*

History

10 Feb 2025, 18:12

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 7.8

26 Nov 2024, 18:23

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 8.4
v2 : unknown
v3 : 9.8
Summary
  • (es) Virtualenv anterior a la versión 20.26.6 permite la inyección de comandos a través de los scripts de activación para un entorno virtual. Las cadenas de plantilla mágica no se citan correctamente al reemplazarlas. NOTA: esto no es lo mismo que CVE-2024-9287.
CWE CWE-77
References () https://github.com/pypa/virtualenv/issues/2768 - () https://github.com/pypa/virtualenv/issues/2768 - Exploit
References () https://github.com/pypa/virtualenv/pull/2771 - () https://github.com/pypa/virtualenv/pull/2771 - Patch
References () https://github.com/pypa/virtualenv/releases/tag/20.26.6 - () https://github.com/pypa/virtualenv/releases/tag/20.26.6 - Release Notes
CPE cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
First Time Virtualenv
Virtualenv virtualenv

24 Nov 2024, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-24 16:15

Updated : 2025-02-10 18:12


NVD link : CVE-2024-53899

Mitre link : CVE-2024-53899

CVE.ORG link : CVE-2024-53899


JSON object : View

Products Affected

virtualenv

  • virtualenv
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')