CVE-2021-41116

CRITICAL
Published Oct 5, 20214y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Oct 5, 2021 4y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-77 Command Injection Injection

Affected Products 3

VendorProductVersionRange
getcomposercomposer* <1.10.23
getcomposercomposer*≥2.0.0  –  <2.1.9
tenabletenable.sc* <5.21.0

References 3

  • github.com https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa
    PatchThird Party Advisory
  • github.com https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf
    Third Party Advisory
  • sonarsource.com https://www.sonarsource.com/blog/securing-developer-tools-package-managers/

Remediation

  • github.com https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa
    PatchThird Party Advisory