Improper Neutralization Affecting composer/composer package, versions >=2.0, <2.0.13<1.10.22


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
11.75% (96th 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-PHP-COMPOSERCOMPOSER-1277193
  • published28 Apr 2021
  • disclosed28 Apr 2021
  • creditthomas-chauchefoin-sonarsource

Introduced: 28 Apr 2021

CVE-2021-29472  (opens in a new tab)
CWE-707  (opens in a new tab)

How to fix?

Upgrade composer/composer to version 2.0.13, 1.10.22 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 Improper Neutralization. URLs for Mercurial repositories in the root composer.json and package source download URLs are not sanitized correctly. Specifically crafted URL values allow commands to be executed in the HgDriver if hg/Mercurial is installed on the system.

CVSS Scores

version 3.1