CVE-2024-53899: virtualenv
Vulnerability summary
CVE-2024-53899 is a high (CVSS 8.4) vulnerability in virtualenv. EPSS estimates a 1.57% chance of exploitation in the next 30 days, higher than 76.2% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 24-11-2024PublishedVulnerability first disclosed.
- 24-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · WolfiEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.57%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.57% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVirtualenv
Maturity: poc
Weaknesses
CWE · root cause- CWE-77Improper Neutralization of Special Elements used in a CommandThe product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
- CWE-78Improper Neutralization of Special Elements used in an OS CommandThe product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Affected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat39 products
- python-distro< 0:1.4.0-2.module+el8.10.0+20784+edafcd43 | < 0:1.4.0-2.module+el8.1.0+3334+5cb623d7
- python-docs< 0:3.6.7-2.module+el8.10.0+20784+edafcd43 | < 0:3.6.7-2.module+el8.1.0+3334+5cb623d7
- python-docutils< 0:0.14-12.module+el8.10.0+20784+edafcd43 | < 0:0.14-12.module+el8.1.0+3334+5cb623d7
- python-nose< 0:1.3.7-31.module+el8.10.0+20784+edafcd43 | < 0:1.3.7-30.module+el8.1.0+3334+5cb623d7 | < 0:1.3.7-31.module+el8.5.0+12207+5c5719bc | < 0:1.3.7-30.module+el8.4.0+15040+36b018e7.1
- python-nose-docs< 0:1.3.7-31.module+el8.10.0+20784+edafcd43 | < 0:1.3.7-30.module+el8.1.0+3334+5cb623d7 | < 0:1.3.7-31.module+el8.5.0+12207+5c5719bc | < 0:1.3.7-30.module+el8.4.0+15040+36b018e7.1
Suse7 products
- python-virtualenv&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 20.22.0-150400.9.6.1
- python-virtualenv&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 20.22.0-150400.9.6.1
- python-virtualenv&distro=SUSE Linux Enterprise Module for Python 3 15 SP5< 20.22.0-150400.9.6.1
- python-virtualenv&distro=SUSE Linux Enterprise Module for Python 3 15 SP6< 20.22.0-150400.9.6.1
- python-virtualenv&distro=SUSE Linux Enterprise Server 15 SP4-LTSS< 20.22.0-150400.9.6.1
Chainguard4 products
- py3-cassandra-medusa< 0.23.0-r0
- py3-cassandra-medusa-compat< 0.23.0-r0
- request-1276< 0.23.0-r0
- request-1276-compat< 0.23.0-r0
Opensuse4 products
- oci-cli&distro=openSUSE Tumbleweed< 3.61.0-1.1
- python-virtualenv&distro=openSUSE Leap 15.5< 20.22.0-150400.9.6.1
- python-virtualenv&distro=openSUSE Leap 15.6< 20.22.0-150400.9.6.1
- python3-virtualenv&distro=openSUSE Leap 15.6< 20.17.1-150600.3.5.1
Wolfi2 products
- py3-cassandra-medusa< 0.23.0-r0
- py3-cassandra-medusa-compat< 0.23.0-r0
Debian1 product
- python-virtualenvAll versions (No fix recorded) | < 20.26.6+ds-1
PyPI1 product
- virtualenv< 20.26.6
Ubuntu1 product
- python-virtualenv< 20.0.17-1ubuntu0.4+esm1 | All versions (No fix recorded) | < 20.13.0+ds-2ubuntu0.1~esm1 | < 20.25.0+ds-2ubuntu0.1~esm1
Virtualenv1 product
- virtualenv< 20.26.6
9 vendors · 60 products
References
33 linksShow all 33 references
- github.com/pypa/virtualenvPACKAGE