Arbitrary Command Injection Affecting composer package, versions <2.1.9-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.39% (74th 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-ALPINE320-COMPOSER-7008910
  • published23 May 2024
  • 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?

Upgrade Alpine:3.20 composer to version 2.1.9-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream composer package and not the composer package as distributed by Alpine. See How to fix? for Alpine:3.20 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 Scores

version 3.1