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)
EPSS: 0.029 (85.5th percentile) — read the EPSS interpretation.
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.
Affected products
- Composer — versions < 1.10.23, >= 2.0, < 2.1.9
- Getcomposer Composer
- Tenable Tenable.sc
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
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.