Cache Injection Affecting composer/composer package, versions <1.0.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.13% (50th 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-70014
  • published10 Feb 2016
  • disclosed10 Feb 2016
  • creditDaniel Fahlke

Introduced: 10 Feb 2016

CVE-2015-8371  (opens in a new tab)
CWE-74  (opens in a new tab)

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.

CVSS Scores

version 3.1