CVE-2021-41116

Command injection in composer on Windows

Published Oct 5, 2021 CVSS 3.1 · 8.2 High EPSS 2.8% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2198 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.
Github GHSA Github GHSA GHSA-frqg-7g38-6gcf Improper escaping of command arguments on Windows leading to command injection
History
Type Values Removed Values Added
Metrics epss

{'score': 0.01344}

epss

{'score': 0.00828}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2024, 2:59 AM
Reserved
Sep 15, 2021, 12:00 AM
Status
Modified
Published
Oct 5, 2021, 6:15 PM
Modified
Jun 17, 2026, 4:07 AM