Command Injection in py3-virtualenv - CVE-2024-53899

 

Command Injection in py3-virtualenv - CVE-2024-53899

Published: November 28, 2024


Vulnerability identifier: #VU101032
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-53899
CWE-ID: CWE-77
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: www.virtualenv.org
Affected software:
py3-virtualenv

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper input validation when handling magic templates strings in activation scripts. A local user can pass specially crafted value via an environment variable to the affected script and execute arbitrary OS commands on the system.


How to mitigate CVE-2024-53899

Install updates from vendor's website.

Sources