CVE-2015-8371Getcomposer Composer
High 8.8 No auth needed
Follow: this CVE · Getcomposer · Getcomposer Composer We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 55
- Auth required
- No
- Published
- Sep 21, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Composer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | composer/composer |
< 1.0.0 |
1.0.0 |
composer require "composer/composer:^1.0.0" |
Per OSV / GitHub Advisories (GHSA-725m-w832-q973). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
| getcomposer | composer | 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- flyingmana.de Exploit Third Party Advisory
- github.com Third Party Advisory
- github.com Product
- gitlab.com Third Party Advisory