Arbitrary Command Injection Affecting composer package, versions *


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.34% (80th 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 Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1604-COMPOSER-1728585
  • published1 Jun 2025
  • disclosed5 Oct 2021

Introduced: 5 Oct 2021

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

How to fix?

There is no fixed version for Ubuntu:16.04 composer.

NVD Description

Note: Versions mentioned in the description apply only to the upstream composer package and not the composer package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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 Base Scores

version 3.1