CVE-2021-41116
Command injection in composer on Windows
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
Composer is an open source dependency manager for the PHP language. In affected versions windows users running Composer to install untrusted dependencies are subject to command injection and should upgrade their composer version. Other OSs and WSL are not affected. The issue has been resolved in composer versions 1.10.23 and 2.1.9. There are no workarounds for this issue.
Composer es un administrador de dependencias de código abierto para el lenguaje PHP. En las versiones afectadas, unos usuarios de Windows que ejecutan Composer para instalar dependencias no confiables están sujetos a una inyección de comandos y deben actualizar su versión de Composer. Otros Sistemas Operativos y WSL no están afectados. El problema ha sido resuelto en Composer versiones 1.10.23 y 2.1.9. No se presentan soluciones para este problema
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-09-15 CVE Reserved
- 2021-10-05 CVE Published
- 2024-08-04 CVE Updated
- 2024-10-08 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf | Third Party Advisory | |
https://www.sonarsource.com/blog/securing-developer-tools-package-managers | X_refsource_misc |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa | 2023-10-25 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Getcomposer Search vendor "Getcomposer" | Composer Search vendor "Getcomposer" for product "Composer" | < 1.10.23 Search vendor "Getcomposer" for product "Composer" and version " < 1.10.23" | - |
Affected
| ||||||
Getcomposer Search vendor "Getcomposer" | Composer Search vendor "Getcomposer" for product "Composer" | >= 2.0.0 < 2.1.9 Search vendor "Getcomposer" for product "Composer" and version " >= 2.0.0 < 2.1.9" | - |
Affected
| ||||||
Tenable Search vendor "Tenable" | Tenable.sc Search vendor "Tenable" for product "Tenable.sc" | < 5.21.0 Search vendor "Tenable" for product "Tenable.sc" and version " < 5.21.0" | - |
Affected
|