CVEvulnerability
CVE-2021-41116
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-10-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-77
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.
Affected configurations
• getcomposer composer (< 1.10.23)
• getcomposer composer (>= 2.0.0 < 2.1.9)
• tenable tenable.sc (< 5.21.0)
Related
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa Patch, Third Party Advisory
- https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf Third Party Advisory
- https://www.sonarsource.com/blog/securing-developer-tools-package-managers/ www.sonarsource.com
- https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa Patch, Third Party Advisory
- https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf Third Party Advisory
- https://www.sonarsource.com/blog/securing-developer-tools-package-managers/ www.sonarsource.com