CVE-2024-53899
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
02 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
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.57% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 75.1% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-11-24 00:00Z1 YR AGO
- Last updated
- 2024-11-24 18:25Z1 YR AGO
- Reserved
- 2024-11-24
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.4)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.1
- Document digest
- 2d2c439f587ca2c82df758ad57de22af193e6e2833d97450b5121a70220c1f3f
05 Affected products
06 References
07 Fixed in
AlmaLinux 8
- python-nose-docs Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd
- python-pymongo-doc Fixed in 3.7.0-1.module_el8.9.0+3700+efebe9fd
- python-sqlalchemy-doc Fixed in 1.3.2-3.module_el8.10.0+3769+3838165b
- python-virtualenv-doc Fixed in 15.1.0-23.module_el8.10.0+3937+b6a3652f
- python3-PyMySQL Fixed in 0.10.1-2.module_el8.9.0+3700+efebe9fd
- python3-bson Fixed in 3.7.0-1.module_el8.9.0+3700+efebe9fd
- python3-distro Fixed in 1.4.0-2.module_el8.9.0+3700+efebe9fd
- python3-docs Fixed in 3.6.7-2.module_el8.9.0+3700+efebe9fd
- python3-docutils Fixed in 0.14-12.module_el8.9.0+3700+efebe9fd
- python3-nose Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd
- python3-pygments Fixed in 2.2.0-22.module_el8.9.0+3700+efebe9fd
- python3-pymongo Fixed in 3.7.0-1.module_el8.9.0+3700+efebe9fd
- python3-pymongo-gridfs Fixed in 3.7.0-1.module_el8.9.0+3700+efebe9fd
- python3-scipy Fixed in 1.0.0-21.module_el8.9.0+3700+efebe9fd
- python3-sqlalchemy Fixed in 1.3.2-3.module_el8.10.0+3769+3838165b
- python3-virtualenv Fixed in 15.1.0-23.module_el8.10.0+3937+b6a3652f
- python3-wheel Fixed in 1:0.31.1-3.module_el8.9.0+3700+efebe9fd
- python3-wheel-wheel Fixed in 1:0.31.1-3.module_el8.9.0+3700+efebe9fd
- python36 Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
- python36-debug Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
- python36-devel Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
- python36-rpm-macros Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- python-nose-docs Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd
- python-pymongo-doc Fixed in 3.7.0-1.module_el8.9.0+3700+efebe9fd
- python-sqlalchemy-doc Fixed in 1.3.2-3.module_el8.10.0+3769+3838165b
- python-virtualenv-doc Fixed in 15.1.0-23.module_el8.10.0+3937+b6a3652f
- python3-PyMySQL Fixed in 0.10.1-2.module_el8.9.0+3700+efebe9fd
- python3-bson Fixed in 3.7.0-1.module_el8.9.0+3700+efebe9fd
- python3-distro Fixed in 1.4.0-2.module_el8.9.0+3700+efebe9fd
- python3-docs Fixed in 3.6.7-2.module_el8.9.0+3700+efebe9fd
- python3-docutils Fixed in 0.14-12.module_el8.9.0+3700+efebe9fd
- python3-nose Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd
- python3-pygments Fixed in 2.2.0-22.module_el8.9.0+3700+efebe9fd
- python3-pymongo Fixed in 3.7.0-1.module_el8.9.0+3700+efebe9fd
- python3-pymongo-gridfs Fixed in 3.7.0-1.module_el8.9.0+3700+efebe9fd
- python3-scipy Fixed in 1.0.0-21.module_el8.9.0+3700+efebe9fd
- python3-sqlalchemy Fixed in 1.3.2-3.module_el8.10.0+3769+3838165b
- python3-virtualenv Fixed in 15.1.0-23.module_el8.10.0+3937+b6a3652f
- python3-wheel Fixed in 1:0.31.1-3.module_el8.9.0+3700+efebe9fd
- python3-wheel-wheel Fixed in 1:0.31.1-3.module_el8.9.0+3700+efebe9fd
- python36 Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
- python36-debug Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
- python36-devel Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
- python36-rpm-macros Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- python-virtualenv No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- python-virtualenv Fixed in 20.26.6+ds-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- python-virtualenv Fixed in 20.26.6+ds-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- python-virtualenv No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- python-virtualenv Fixed in 20.13.0+ds-2ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 24.04 LTS
- python-virtualenv Fixed in 20.25.0+ds-2ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.