High severity · published Sep 21, 2023
CVE-2015-8371
Composer before 2016-02-10 allows cache poisoning from other projects built on the same host
8.8
CVSS
0.7%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
Composer · Getcomposer
1.0.0; 1.0.0; 1.0.0; 1.0.0; 1.0.0; 1.0.0; +5 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-8371
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-8371
Exploit
https://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html
Third Party Advisory
https://github.com/FriendsOfPHP/security-advisories/blob/e26be423c5bcfdb38478d2f92d1f928c15afb561/composer/composer/CVE-2015-8371.yaml
Product
https://github.com/composer/composer
Third Party Advisory
https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml
More from Composer
9.8
CVE-2021-41116
Composer is an open source dependency manager for the PHP language
8.8
CVE-2026-40261
Composer has Command Injection via Malicious Perforce Reference
8.8
CVE-2023-43655
Composer is a dependency manager for PHP
8.8
CVE-2022-24828
Composer is a dependency manager for the PHP programming language
8.8
CVE-2021-29472
Composer is a dependency manager for PHP
