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 trend (30 days)EPSS over the last 30 days for CVE-2021-41116: held from 0.029 to 0.029.

EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000

Affected products

Weakness classification (CWE)

References

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.