9.8

CVE-2021-41116: Command injection in composer on Windows

Modified
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) vulnerability in composer. EPSS estimates a 2.83% chance of exploitation in the next 30 days, higher than 87% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.83%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

5 scores · 4 sources · 2 versions

EPSS trend

Probability

2.83%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.83% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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

6 vendors · 7 products

References

7 links