CVE-2024-53899
published high CVSS 3.1 · 8.4virtualenv: potential command injection via virtual environment activation scripts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| virtualenv | — | virtualenv0 to < 20.26.6 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-831 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | focal | virtualenv | Advisory build | 20.0.17-1ubuntu0.4+esm1 | USN-7271-1 |
| AlmaLinux | 8 | python-nose-docs | Advisory build | 1.3.7-31.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| Oracle Linux | 7 | python-virtualenvx86_64 | Advisory build | 0:15.1.0-7.0.1.el7_9 | ELSA-2024-11048 |
| Red Hat Enterprise Linux | RHEL-7 | python-virtualenvnoarch | Advisory build | 15.1.0-7.el7_9.1 | RHSA-2024:11048 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | virtualenv | Advisory build | 20.13.0+ds-2ubuntu0.1~esm1 | USN-7271-1 |
| Ubuntu | noble | virtualenv | Advisory build | 20.25.0+ds-2ubuntu0.1~esm1 | USN-7271-2 |
| AlmaLinux | 8 | python-pymongo-doc | Advisory build | 3.7.0-1.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python-sqlalchemy-doc | Advisory build | 1.3.2-3.module_el8.10.0+3769+3838165b | ALSA-2024:10953 |
| AlmaLinux | 8 | python-virtualenv-doc | Advisory build | 15.1.0-23.module_el8.10.0+3937+b6a3652f | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-PyMySQL | Advisory build | 0.10.1-2.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-bson | Advisory build | 3.7.0-1.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-distro | Advisory build | 1.4.0-2.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-docs | Advisory build | 3.6.7-2.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-docutils | Advisory build | 0.14-12.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-nose | Advisory build | 1.3.7-31.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-pygments | Advisory build | 2.2.0-22.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-pymongo | Advisory build | 3.7.0-1.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-pymongo-gridfs | Advisory build | 3.7.0-1.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-scipy | Advisory build | 1.0.0-21.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-sqlalchemy | Advisory build | 1.3.2-3.module_el8.10.0+3769+3838165b | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-virtualenv | Advisory build | 15.1.0-23.module_el8.10.0+3937+b6a3652f | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-wheel | Advisory build | 1:0.31.1-3.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python3-wheel-wheel | Advisory build | 1:0.31.1-3.module_el8.9.0+3700+efebe9fd | ALSA-2024:10953 |
| AlmaLinux | 8 | python36 | Advisory build | 3.6.8-39.module_el8.10.0+3769+3838165b | ALSA-2024:10953 |
| AlmaLinux | 8 | python36-debug | Advisory build | 3.6.8-39.module_el8.10.0+3769+3838165b | ALSA-2024:10953 |
| AlmaLinux | 8 | python36-devel | Advisory build | 3.6.8-39.module_el8.10.0+3769+3838165b | ALSA-2024:10953 |
| AlmaLinux | 8 | python36-rpm-macros | Advisory build | 3.6.8-39.module_el8.10.0+3769+3838165b | ALSA-2024:10953 |
| Oracle Linux | 8 | python-nose-docsaarch64 · python36 · 3.6b | Advisory build | 0:1.3.7-31.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python-nose-docsx86_64 · python36 · 3.6b | Advisory build | 0:1.3.7-31.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python-pymongo-docaarch64 · python36 · 3.6b | Advisory build | 0:3.7.0-1.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python-pymongo-docx86_64 · python36 · 3.6b | Advisory build | 0:3.7.0-1.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python-sqlalchemy-docaarch64 · python36 · 3.6b | Advisory build | 0:1.3.2-3.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python-sqlalchemy-docx86_64 · python36 · 3.6b | Advisory build | 0:1.3.2-3.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python-virtualenv-docaarch64 · python36 · 3.6b | Advisory build | 0:15.1.0-23.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python-virtualenv-docx86_64 · python36 · 3.6b | Advisory build | 0:15.1.0-23.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-PyMySQLaarch64 · python36 · 3.6b | Advisory build | 0:0.10.1-2.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-PyMySQLx86_64 · python36 · 3.6b | Advisory build | 0:0.10.1-2.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-bsonaarch64 · python36 · 3.6b | Advisory build | 0:3.7.0-1.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-bsonx86_64 · python36 · 3.6b | Advisory build | 0:3.7.0-1.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-distroaarch64 · python36 · 3.6b | Advisory build | 0:1.4.0-2.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-distrox86_64 · python36 · 3.6b | Advisory build | 0:1.4.0-2.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-docsaarch64 · python36 · 3.6b | Advisory build | 0:3.6.7-2.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-docsx86_64 · python36 · 3.6b | Advisory build | 0:3.6.7-2.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-docutilsaarch64 · python36 · 3.6b | Advisory build | 0:0.14-12.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-docutilsx86_64 · python36 · 3.6b | Advisory build | 0:0.14-12.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-noseaarch64 · python36 · 3.6b | Advisory build | 0:1.3.7-31.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-nosex86_64 · python36 · 3.6b | Advisory build | 0:1.3.7-31.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-pygmentsaarch64 · python36 · 3.6b | Advisory build | 0:2.2.0-22.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-pygmentsx86_64 · python36 · 3.6b | Advisory build | 0:2.2.0-22.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-pymongoaarch64 · python36 · 3.6b | Advisory build | 0:3.7.0-1.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-pymongox86_64 · python36 · 3.6b | Advisory build | 0:3.7.0-1.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-pymongo-gridfsaarch64 · python36 · 3.6b | Advisory build | 0:3.7.0-1.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-pymongo-gridfsx86_64 · python36 · 3.6b | Advisory build | 0:3.7.0-1.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-scipyaarch64 · python36 · 3.6b | Advisory build | 0:1.0.0-21.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-scipyx86_64 · python36 · 3.6b | Advisory build | 0:1.0.0-21.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-sqlalchemyaarch64 · python36 · 3.6b | Advisory build | 0:1.3.2-3.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-sqlalchemyx86_64 · python36 · 3.6b | Advisory build | 0:1.3.2-3.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-virtualenvaarch64 · python36 · 3.6b | Advisory build | 0:15.1.0-23.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-virtualenvx86_64 · python36 · 3.6b | Advisory build | 0:15.1.0-23.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-wheelaarch64 · python36 · 3.6b | Advisory build | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-wheelx86_64 · python36 · 3.6b | Advisory build | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-wheel-wheelaarch64 · python36 · 3.6b | Advisory build | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python3-wheel-wheelx86_64 · python36 · 3.6b | Advisory build | 1:0.31.1-3.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python36aarch64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python36x86_64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python36-debugaarch64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python36-debugx86_64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python36-develaarch64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python36-develx86_64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python36-rpm-macrosaarch64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Oracle Linux | 8 | python36-rpm-macrosx86_64 · python36 · 3.6b | Advisory build | 0:3.6.8-39.module+el8.10.0+90473+c30184f9 | ELSA-2024-10953 |
| Red Hat Enterprise Linux | RHEL-7 | python-virtualenvsrc | Advisory build | 15.1.0-7.el7_9.1 | RHSA-2024:11048 |
| Red Hat Enterprise Linux | RHEL-8 | python-PyMySQLsrc | Advisory build | 0.10.1-2.module+el8.10.0+20784+edafcd43 | RHSA-2024:10953 |
| Red Hat Enterprise Linux | RHEL-8 | python-PyMySQLsrc | Advisory build | 0.10.1-2.module+el8.4.0+9657+a4b6a102 | RHSA-2024:11093 |
| Red Hat Enterprise Linux | RHEL-8 | python-PyMySQLsrc | Advisory build | 0.10.1-2.module+el8.4.0+9657+a4b6a102 | RHSA-2024:11094 |
| Red Hat Enterprise Linux | RHEL-8 | python-PyMySQLsrc | Advisory build | 0.10.1-2.module+el8.4.0+9657+a4b6a102 | RHSA-2025:0002 |
| Red Hat Enterprise Linux | RHEL-8 | python-PyMySQLsrc | Advisory build | 0.8.0-10.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11091 |
| Red Hat Enterprise Linux | RHEL-8 | python-distrosrc | Advisory build | 1.4.0-2.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11091 |
| Red Hat Enterprise Linux | RHEL-8 | python-distrosrc | Advisory build | 1.4.0-2.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11093 |
| Red Hat Enterprise Linux | RHEL-8 | python-distrosrc | Advisory build | 1.4.0-2.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11094 |
| Red Hat Enterprise Linux | RHEL-8 | python-distrosrc | Advisory build | 1.4.0-2.module+el8.1.0+3334+5cb623d7 | RHSA-2025:0002 |
| Red Hat Enterprise Linux | RHEL-8 | python-distrosrc | Advisory build | 1.4.0-2.module+el8.10.0+20784+edafcd43 | RHSA-2024:10953 |
| Red Hat Enterprise Linux | RHEL-8 | python-docssrc | Advisory build | 3.6.7-2.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11091 |
| Red Hat Enterprise Linux | RHEL-8 | python-docssrc | Advisory build | 3.6.7-2.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11093 |
| Red Hat Enterprise Linux | RHEL-8 | python-docssrc | Advisory build | 3.6.7-2.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11094 |
| Red Hat Enterprise Linux | RHEL-8 | python-docssrc | Advisory build | 3.6.7-2.module+el8.1.0+3334+5cb623d7 | RHSA-2025:0002 |
| Red Hat Enterprise Linux | RHEL-8 | python-docssrc | Advisory build | 3.6.7-2.module+el8.10.0+20784+edafcd43 | RHSA-2024:10953 |
| Red Hat Enterprise Linux | RHEL-8 | python-docutilssrc | Advisory build | 0.14-12.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11091 |
| Red Hat Enterprise Linux | RHEL-8 | python-docutilssrc | Advisory build | 0.14-12.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11093 |
| Red Hat Enterprise Linux | RHEL-8 | python-docutilssrc | Advisory build | 0.14-12.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11094 |
| Red Hat Enterprise Linux | RHEL-8 | python-docutilssrc | Advisory build | 0.14-12.module+el8.1.0+3334+5cb623d7 | RHSA-2025:0002 |
| Red Hat Enterprise Linux | RHEL-8 | python-docutilssrc | Advisory build | 0.14-12.module+el8.10.0+20784+edafcd43 | RHSA-2024:10953 |
| Red Hat Enterprise Linux | RHEL-8 | python-nosesrc | Advisory build | 1.3.7-30.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11091 |
| Red Hat Enterprise Linux | RHEL-8 | python-nosesrc | Advisory build | 1.3.7-30.module+el8.4.0+15040+36b018e7.1 | RHSA-2025:0002 |
| Red Hat Enterprise Linux | RHEL-8 | python-nosesrc | Advisory build | 1.3.7-31.module+el8.10.0+20784+edafcd43 | RHSA-2024:10953 |
| Red Hat Enterprise Linux | RHEL-8 | python-nosesrc | Advisory build | 1.3.7-31.module+el8.5.0+12207+5c5719bc | RHSA-2024:11093 |
| Red Hat Enterprise Linux | RHEL-8 | python-nosesrc | Advisory build | 1.3.7-31.module+el8.5.0+12207+5c5719bc | RHSA-2024:11094 |
| Red Hat Enterprise Linux | RHEL-8 | python-nose-docsnoarch | Advisory build | 1.3.7-30.module+el8.1.0+3334+5cb623d7 | RHSA-2024:11091 |
| Red Hat Enterprise Linux | RHEL-8 | python-nose-docsnoarch | Advisory build | 1.3.7-30.module+el8.4.0+15040+36b018e7.1 | RHSA-2025:0002 |
| Red Hat Enterprise Linux | RHEL-8 | python-nose-docsnoarch | Advisory build | 1.3.7-31.module+el8.10.0+20784+edafcd43 | RHSA-2024:10953 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| virtualenv | virtualenv | 0 to < 20.26.6 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
3Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e22a8b7834604f4835e455563c1aba104d2fc721facfe64031d712996a2dc0c6
- Ingested
- 23 Sep 2026, 08:31:11 UTC
- Source record
- Official CVE record