# CVE-2015-8371

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-09-21 · Modified: 2024-09-25
- Aliases: UBUNTU-CVE-2015-8371, DEBIAN-CVE-2015-8371
- Record: https://cvemate.com/vulnerability/CVE-2015-8371 · JSON: https://cvemate.com/vulnerability/CVE-2015-8371/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.723%, percentile 55.389%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian composer (Debian): \< 1.0.0~alpha11-3
- ubuntu composer (Ubuntu): \< 1.0.0~beta2-1
- getcomposer composer: 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

## 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://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml>
- <https://github.com/composer/composer>
- <https://ubuntu.com/security/CVE-2015-8371>
- <http://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html>
- <https://www.cve.org/CVERecord?id=CVE-2015-8371>
- <https://security-tracker.debian.org/tracker/CVE-2015-8371>

---

Data as of 2026-12-05T04:18:17.126Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
