Cache Injection Affecting composer/composer package, versions <1.0.0
Snyk CVSS
Threat Intelligence
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
Introduced: 10 Feb 2016
CVE-2015-8371 Open this link in a new tabHow 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.