
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-53899 affects virtualenv versions before 20.26.6, where a command injection vulnerability exists through the activation scripts for a virtual environment. The vulnerability stems from magic template strings not being quoted correctly during replacement operations (NVD, MITRE).
The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High), with the following vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The issue occurs in the ViaTemplateActivator component where magic template strings are not properly quoted during the replacement process, leading to potential command injection vulnerabilities (NVD, GitHub Issue).
If exploited, this vulnerability could allow an attacker to execute arbitrary commands through crafted path names when creating virtual environments. The vulnerability affects the activation scripts, potentially leading to unauthorized command execution with the privileges of the user running the virtualenv command (GitHub Issue).
The vulnerability has been fixed in virtualenv version 20.26.6. Users should upgrade to this version or later to mitigate the risk. The fix involves properly quoting template strings in activation scripts (GitHub PR, GitHub Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."