Vulnerability · Published Nov 24, 2024 · Assigned by mitre

CVE-2024-53899

High 8.4

In plain English

A high-severity OS command injection in the python-nose-docs package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)1.6%top 24.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8python-nose-docs1.3.7-31.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python-pymongo-doc3.7.0-1.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python-sqlalchemy-doc1.3.2-3.module_el8.10.0+3769+3838165bALSA-2024:10953
AlmaLinux:8python-virtualenv-doc15.1.0-23.module_el8.10.0+3937+b6a3652fALSA-2024:10953
AlmaLinux:8python3-PyMySQL0.10.1-2.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-bson3.7.0-1.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-distro1.4.0-2.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-docs3.6.7-2.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-docutils0.14-12.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-nose1.3.7-31.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-pygments2.2.0-22.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-pymongo3.7.0-1.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-pymongo-gridfs3.7.0-1.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-scipy1.0.0-21.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-sqlalchemy1.3.2-3.module_el8.10.0+3769+3838165bALSA-2024:10953
AlmaLinux:8python3-virtualenv15.1.0-23.module_el8.10.0+3937+b6a3652fALSA-2024:10953
AlmaLinux:8python3-wheel1:0.31.1-3.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python3-wheel-wheel1:0.31.1-3.module_el8.9.0+3700+efebe9fdALSA-2024:10953
AlmaLinux:8python363.6.8-39.module_el8.10.0+3769+3838165bALSA-2024:10953
AlmaLinux:8python36-debug3.6.8-39.module_el8.10.0+3769+3838165bALSA-2024:10953
AlmaLinux:8python36-devel3.6.8-39.module_el8.10.0+3769+3838165bALSA-2024:10953
AlmaLinux:8python36-rpm-macros3.6.8-39.module_el8.10.0+3769+3838165bALSA-2024:10953
Debian:12python-virtualenvno fix listedDEBIAN-CVE-2024-53899
Debian:13python-virtualenv20.26.6+ds-1DEBIAN-CVE-2024-53899
Debian:14python-virtualenv20.26.6+ds-1DEBIAN-CVE-2024-53899
PyPIvirtualenv20.26.6PYSEC-2024-187
PyPIvirtualenv20.26.6GHSA-rqc4-2hc7-8c8v
Rocky Linux:8python-PyMySQL0:0.10.1-2.module+el8.10.0+1582+bc278001RLSA-2024:10953
Rocky Linux:8python-distro0:1.4.0-2.module+el8.10.0+1592+61442852RLSA-2024:10953
Rocky Linux:8python-docs0:3.6.7-2.module+el8.10.0+1592+61442852RLSA-2024:10953
Rocky Linux:8python-docutils0:0.14-12.module+el8.10.0+1592+61442852RLSA-2024:10953
Rocky Linux:8python-nose0:1.3.7-31.module+el8.10.0+1592+61442852RLSA-2024:10953
Rocky Linux:8python-pygments0:2.2.0-22.module+el8.10.0+1592+61442852RLSA-2024:10953
Rocky Linux:8python-pymongo0:3.7.0-1.module+el8.10.0+1592+61442852RLSA-2024:10953
Rocky Linux:8python-sqlalchemy0:1.3.2-3.module+el8.10.0+1602+b47e27faRLSA-2024:10953
Rocky Linux:8python-virtualenv0:15.1.0-23.module+el8.10.0+1910+234ad790RLSA-2024:10953
Rocky Linux:8python-wheel1:0.31.1-3.module+el8.10.0+1592+61442852RLSA-2024:10953
Rocky Linux:8python360:3.6.8-39.module+el8.10.0+1592+61442852RLSA-2024:10953
Rocky Linux:8scipy0:1.0.0-21.module+el8.10.0+1592+61442852RLSA-2024:10953

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References