Live threats

All CVEs / Getcomposer

CVE-2015-8371Getcomposer Composer

High 8.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Composer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0
getcomposercomposer1.0.0

Official sources

References

Links published by the sources. Open them with care.