9.8

CVE-2021-41116: composer Command Injection

CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2021-41116openSUSE-SU-2024:11617-1openSUSE-SU-2024:11874-1
Published 05-10-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-41116 is a critical (CVSS 9.8) Command Injection vulnerability in composer. EPSS estimates a 2.83% chance of exploitation in the next 30 days, higher than 86.3% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.83%
0%100%
Low · -0.08 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 05-10-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

2.83%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

-0.08 pp

From 2.90% on 18-09-2026

18-09-202618-10-2026
EPSS score
2.83%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Opensuse2 products
  • php-composer2&distro=openSUSE Tumbleweed< 2.1.12-1.1
  • php-composer&distro=openSUSE Tumbleweed< 1.10.25-1.1
Composer1 product
Getcomposer1 product
Tenable1 product
Ubuntu1 product
  • composerAll versions (No fix recorded)

5 vendors · 6 products

References

6 links