Cache Injection Affecting composer/composer package, versions <1.0.0


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.06% (26th percentile)
Expand this section
NVD
8.8 high

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 ID SNYK-PHP-COMPOSERCOMPOSER-70014
  • published 10 Feb 2016
  • disclosed 10 Feb 2016
  • credit Daniel Fahlke

How to fix?

Upgrade composer/composer to version 1.0.0 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 Cache Injection. The source of the problem lies in the way composer cached dist packages. The Cache Key was generated from the name of the package, the dist type, and a “magical” reference, which got provided from the package repository (packagist uses the commit hash here) and is easy to fake.