CVE-2015-8371
CVE-2015-8371 is a high-severity vulnerability in Getcomposer Composer with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-345.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 1% (49th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-345
- Affected product: Getcomposer Composer
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2015-8371?
- 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.
- How severe is CVE-2015-8371?
- CVE-2015-8371 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2015-8371 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (49th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2015-8371?
- CVE-2015-8371 primarily affects Getcomposer Composer. In total, 11 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2015-8371?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2015-8371 published?
- CVE-2015-8371 was published on 2023-09-21 and last updated on 2026-06-17.
References
- 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://github.com/composer/composer
- https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml
Affected products (11)
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha1:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha10:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha11:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha2:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha3:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha5:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha6:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha7:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha8:*:*:*:*:*:*
- cpe:2.3:a:getcomposer:composer:1.0.0:alpha9:*:*:*:*:*:*
More vulnerabilities in Getcomposer Composer
- CVE-2026-40261 — High (CVSS 8.8): Composer is a dependency manager for PHP. Versions 1.0 through 2.2.26 and 2.3 through 2.9.5 contain a command injection…
- CVE-2024-24821 — High (CVSS 8.8): Composer is a dependency Manager for the PHP language. In affected versions several files within the local working…
- CVE-2021-29472 — High (CVSS 8.8): Composer is a dependency manager for PHP. URLs for Mercurial repositories in the root composer.json and package source…
- CVE-2022-24828 — High (CVSS 8.3): Composer is a dependency manager for the PHP programming language. Integrators using Composer code to call…
- CVE-2021-41116 — High (CVSS 8.2): Composer is an open source dependency manager for the PHP language. In affected versions windows users running Composer…
- CVE-2026-40176 — High (CVSS 7.8): Composer is a dependency manager for PHP. Versions 1.0 through 2.2.26 and 2.3 through 2.9.5 contain a command injection…
All CVEs affecting Getcomposer Composer →
Other CWE-345 (Insufficient Verification of Data Authenticity) vulnerabilities
- CVE-2026-35051 — Critical (CVSS 10.0): Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is an…
- CVE-2014-8165 — Critical (CVSS 10.0): scripts/amsvis/powerpcAMS/amsnet.py in powerpc-utils-python uses the pickle Python module unsafely, which allows remote…
- CVE-2026-50195 — Critical (CVSS 9.9): containerd is an open-source container runtime. Versions prior to 2.3.2, 2.2.5 and 2.1.9 contain a vulnerability in the…
- CVE-2022-36130 — Critical (CVSS 9.9): HashiCorp Boundary up to 0.10.1 did not properly perform data integrity checks to ensure the resources were associated…
- CVE-2026-50214 — Critical (CVSS 9.8): The /v1/Plan service relies entirely on a shared global API token for full administrative management, allowing…
- CVE-2025-15385 — Critical (CVSS 9.8): Insufficient Verification of Data Authenticity vulnerability in TECNO Mobile com.Afmobi.Boomplayer allows…
Browse all CWE-345 (Insufficient Verification of Data Authenticity) vulnerabilities →