RCE in Composer
CVE-2021-41116
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.
EPSS exploit prediction
EPSS: 0.029 (86.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000
Affected products
- Composer — versions < 1.10.23, >= 2.0, < 2.1.9
- Getcomposer Composer
- Tenable Tenable.sc
Weakness classification (CWE)
References
- github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf (Third Party Advisory)
- github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa (Patch, Third Party Advisory)
- www.sonarsource.com/blog/securing-developer-tools-package-managers/
Frequently asked questions
- What is CVE-2021-41116?
- CVE-2021-41116 is a high-severity vulnerability in Composer, classified under Command Injection. CVSS score: 8.2/10. Published 2021-10-05.
- How severe is CVE-2021-41116?
- High severity. CVSS v3 base score is 8.2 out of 10.