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.

Project Subscriptions

Vendors Products
Enterprise Linux Subscribe
Openshift Devspaces Subscribe
Rhel Aus Subscribe
Rhel E4s Subscribe
Rhel Els Subscribe
Rhel Eus Subscribe
Rhel Tus Subscribe
Virtualenv Subscribe
Virtualenv Subscribe
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 11 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00643}

epss

{'score': 0.00815}


Sat, 05 Apr 2025 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat openshift Devspaces
CPEs cpe:/a:redhat:openshift_devspaces:3::el9
Vendors & Products Redhat openshift Devspaces

Wed, 01 Jan 2025 14:30:00 +0000

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

Tue, 17 Dec 2024 02:15:00 +0000

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

Mon, 16 Dec 2024 14:45:00 +0000

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

Thu, 12 Dec 2024 02:15:00 +0000

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

Tue, 26 Nov 2024 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-77

Tue, 26 Nov 2024 03:15:00 +0000

Type Values Removed Values Added
Title virtualenv: potential command injection via virtual environment activation scripts
References
Metrics threat_severity

None

threat_severity

Important


Sun, 24 Nov 2024 19:15:00 +0000

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'}


Sun, 24 Nov 2024 16:15:00 +0000

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-11-24T18:25:36.636Z

Reserved: 2024-11-24T00:00:00

Link: CVE-2024-53899

cve-icon Vulnrichment

Updated: 2024-11-24T18:25:07.826Z

cve-icon NVD

Status : Analyzed

Published: 2024-11-24T16:15:06.647

Modified: 2025-02-10T18:12:06.107

Link: CVE-2024-53899

cve-icon Redhat

Severity : Important

Publid Date: 2024-11-24T00:00:00Z

Links: CVE-2024-53899 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses