OS Command Injection Affecting python-virtualenv package, versions <0:15.1.0-7.el7_9.1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.57% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PYTHONVIRTUALENV-8704002
  • published8 Feb 2025
  • disclosed24 Nov 2024

Introduced: 24 Nov 2024

CVE-2024-53899  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade RHEL:7 python-virtualenv to version 0:15.1.0-7.el7_9.1 or higher.
This issue was patched in RHSA-2024:11048.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-virtualenv package and not the python-virtualenv package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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 Base Scores

version 3.1