CVE-2024-53899

virtualenv: potential command injection via virtual environment activation scripts

Published Nov 24, 2024 CVSS 3.1 · 8.4 High EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0172 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.
Github GHSA Github GHSA GHSA-rqc4-2hc7-8c8v virtualenv allows command injection through activation scripts for a virtual environment
Ubuntu USN Ubuntu USN USN-7271-1 virtualenv vulnerability
Ubuntu USN Ubuntu USN USN-7271-2 virtualenv vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00643}

epss

{'score': 0.00815}

Type Values Removed Values Added
First Time appeared Redhat openshift Devspaces
CPEs cpe:/a:redhat:openshift_devspaces:3::el9
Vendors & Products Redhat openshift Devspaces
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_aus:8.4
cpe:/a:redhat:rhel_e4s:8.4
cpe:/a:redhat:rhel_tus:8.4
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_aus:8.2
cpe:/a:redhat:rhel_aus:8.6
cpe:/a:redhat:rhel_e4s:8.6
cpe:/a:redhat:rhel_tus:8.6
Vendors & Products Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Tus
Type Values Removed Values Added
First Time appeared Redhat rhel Els
Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:8.8
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Redhat rhel Eus
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
Weaknesses CWE-77
Type Values Removed Values Added
Title virtualenv: potential command injection via virtual environment activation scripts
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Virtualenv
Virtualenv virtualenv
Weaknesses CWE-78
CPEs cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
Vendors & Products Virtualenv
Virtualenv virtualenv
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 24, 2024, 6:25 PM
Reserved
Nov 24, 2024, 12:00 AM
Status
Analyzed
Published
Nov 24, 2024, 4:15 PM
Modified
Jun 17, 2026, 8:09 AM
Severity
Important
Public date
Nov 24, 2024, 12:00 AM