getcomposer composer CVE-2021-41116 in Getcomposer and Tenable Products
Published on October 5, 2021

Command injection in composer on Windows

product logo product logo
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.

Github Repository NVD

Vulnerability Analysis

CVE-2021-41116 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity, and no impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
REQUIRED
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
LOW
Availability Impact:
NONE

Weakness Type

What is a Command Injection Vulnerability?

The software constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

CVE-2021-41116 has been classified to as a Command Injection vulnerability or weakness.


Products Associated with CVE-2021-41116

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-41116 are published in these products:

 
 

Affected Versions

composer:

Vulnerable Packages

The following package name and versions may be associated with CVE-2021-41116

Package Manager Vulnerable Package Versions Fixed In
composer composer/composer < 1.10.23 1.10.23
composer composer/composer >= 2.0, < 2.1.9 2.1.9

Exploit Probability

EPSS
0.98%
Percentile
76.37%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.