8.8
HIGH
CVE-2015-8371
Composer Cache Poisoning Vulnerability
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.

INFO

Published Date :

Sept. 21, 2023, 6:15 a.m.

Last Modified :

Sept. 29, 2023, 4:26 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2015-8371 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Getcomposer composer
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2015-8371 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2015-8371 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Sep. 29, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html No Types Assigned https://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html Exploit, Third Party Advisory
    Changed Reference Type https://github.com/composer/composer No Types Assigned https://github.com/composer/composer Product
    Changed Reference Type https://github.com/FriendsOfPHP/security-advisories/blob/e26be423c5bcfdb38478d2f92d1f928c15afb561/composer/composer/CVE-2015-8371.yaml No Types Assigned https://github.com/FriendsOfPHP/security-advisories/blob/e26be423c5bcfdb38478d2f92d1f928c15afb561/composer/composer/CVE-2015-8371.yaml Third Party Advisory
    Changed Reference Type https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml No Types Assigned https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml Third Party Advisory
    Added CWE NIST CWE-345
    Added CPE Configuration OR *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:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2015-8371 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.13 }} 0.02%

score

0.49271

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability