8.4

CVE-2024-53899: virtualenv Command Injection

CVSS: 8.4v3.1HighAnalyzed
AliasesSUSE-SU-2024:4093-1SUSE-SU-2024:4143-1GHSA-rqc4-2hc7-8c8v
Published 24-11-2024Last modified 24-11-2024

Vulnerability summary

CVE-2024-53899 is a high (CVSS 8.4) Command Injection vulnerability in virtualenv. EPSS estimates a 1.57% chance of exploitation in the next 30 days, higher than 75% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
44/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.4/10
010
High · v3.1 (CVE.org)
EPSS score
1.57%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 24-11-2024
    PublishedVulnerability first disclosed.
  2. 24-11-2024
    Last 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

EPSS trend

Probability

1.57%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

0.00 pp

From 1.57% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.57%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Virtualenv

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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-virtualenvAll versions (No fix recorded) | < 20.0.17-1ubuntu0.4+esm1 | < 20.13.0+ds-2ubuntu0.1~esm1 | < 20.25.0+ds-2ubuntu0.1~esm1
Virtualenv1 product

9 vendors · 60 products

References

33 links
Show all 33 references