8.8
CWE
345
Advisory Published
CVE Published
Updated

CVE-2015-8371

First published: Wed Feb 10 2016(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
composer/composer/composer<=1.0.0-alpha11
composer/composer/composer<=1.0.0-alpha11
1.0.0
Composer=1.0.0-alpha1
Composer=1.0.0-alpha10
Composer=1.0.0-alpha11
Composer=1.0.0-alpha2
Composer=1.0.0-alpha3
Composer=1.0.0-alpha4
Composer=1.0.0-alpha5
Composer=1.0.0-alpha6
Composer=1.0.0-alpha7
Composer=1.0.0-alpha8
Composer=1.0.0-alpha9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2015-8371?

    CVE-2015-8371 has a high severity due to the potential for remote code execution via cache poisoning.

  • How do I fix CVE-2015-8371?

    To fix CVE-2015-8371, update Composer to version 1.0.0 or later.

  • What are the affected versions of Composer for CVE-2015-8371?

    Affected versions of Composer include all versions before 1.0.0, specifically up to 1.0.0-alpha11.

  • What type of vulnerability is CVE-2015-8371?

    CVE-2015-8371 is a cache injection vulnerability that can be exploited to execute attacker-controlled code.

  • What impact does CVE-2015-8371 have on systems?

    CVE-2015-8371 allows attackers to inject malicious code, which can compromise the integrity of server-side processes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203