Command Injection Affecting composer/composer package, versions >=2.0.0, <2.1.9<1.10.23


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.55% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-COMPOSERCOMPOSER-1728397
  • published6 Oct 2021
  • disclosed5 Oct 2021
  • creditPaul Gerste

Introduced: 5 Oct 2021

CVE-2021-41116  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade composer/composer to version 2.1.9, 1.10.23 or higher.

Overview

composer/composer is a Dependency Manager for PHP. Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

Affected versions of this package are vulnerable to Command Injection. This is due to improper escaping of command arguments.

Note: This only affects Windows users.

References

CVSS Scores

version 3.1