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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| composer | composer | < 1.10.23; >= 2.0, < 2.1.9 |
References
- https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aaPatch, Third Party Advisory
- https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcfThird Party Advisory
- https://www.sonarsource.com/blog/securing-developer-tools-package-managers/
- https://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aaPatch, Third Party Advisory
- https://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcfThird Party Advisory
- https://www.sonarsource.com/blog/securing-developer-tools-package-managers/
Timeline
- Published
- Oct 5, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified