CVE-2015-8371
CVE-2015-8371
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Composer before 2016-02-10 allows cache poisoning from other projects built on the same host. This results in attacker-controlled code entering a server-side build process. The issue occurs because of the way that dist packages are cached. The cache key is derived from the package name, the dist type, and certain other data from the package repository (which may simply be a commit hash, and thus can be found by an attacker). Versions through 1.0.0-alpha11 are affected, and 1.0.0 is unaffected.
CVSS 8.8 · High · EPSS 0.7% · Fix available
- Published
- Updated
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
composer Debian:12
- Affected ranges
- ECOSYSTEM: < 1.0.0~alpha11-3
Update to 1.0.0~alpha11-3
composer Debian:13
- Affected ranges
- ECOSYSTEM: < 1.0.0~alpha11-3
Update to 1.0.0~alpha11-3
composer Debian:14
- Affected ranges
- ECOSYSTEM: < 1.0.0~alpha11-3
Update to 1.0.0~alpha11-3
composer/composer Packagist
- Versions
- 1.0.0-alpha1
- 1.0.0-alpha10
- 1.0.0-alpha11
- 1.0.0-alpha2
- 1.0.0-alpha3
- 1.0.0-alpha4
- 1.0.0-alpha5
- 1.0.0-alpha6
- 1.0.0-alpha7
- 1.0.0-alpha8
- 1.0.0-alpha9
- 1.0.0-beta1
- 1.0.0-beta2
- Affected ranges
- ECOSYSTEM: < 1.0.0
Update to 1.0.0
Original sources
- https://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html
- https://github.com/FriendsOfPHP/security-advisories/blob/e26be423c5bcfdb38478d2f92d1f928c15afb561/composer/composer/CVE-2015-8371.yaml
- https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml
- https://github.com/composer/composer
- https://nvd.nist.gov/vuln/detail/CVE-2015-8371