CVE-2015-8371

HIGH EPSS 48.5%
Published Sep 21, 20232y ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
High
Find Similar
Published Sep 21, 2023 2y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
8.8
Exploitability
2.8
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
48.5% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available

Weaknesses 1

CWE-345

Affected Products 11

VendorProductVersionRange
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any
getcomposercomposer1.0.0any

References 4

  • flyingmana.de https://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html
    ExploitThird Party Advisory
  • github.com https://github.com/FriendsOfPHP/security-advisories/blob/e26be423c5bcfdb38478d2f92d1f928c15afb561/composer/composer/CVE-2015-8371.yaml
    Third Party Advisory
  • github.com https://github.com/composer/composer
    Product
  • gitlab.com https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml
    Third Party Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.