Arbitrary Command Injection The advisory has been revoked - it doesn't affect any version of package composer  (opens in a new tab)


Threat Intelligence

EPSS
2.83% (87th 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 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)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:16.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream composer package and not the composer package as distributed by Ubuntu.

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.