{"schemaVersion":3,"id":"CVE-2015-8371","aliases":["UBUNTU-CVE-2015-8371","DEBIAN-CVE-2015-8371"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-09-21T00:00:00.000Z","modified":"2024-09-25T13:30:18.745Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.00723,"percentile":0.5318,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.026000000000000068,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00697},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00723,"percentile":0.5318}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00697,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00723,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00723,"percentile":0.5318}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_5DD19B5D62A2EA96","name":"Exploit Reference (flyingmana.de)","source":"reference","url":"https://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity","description":"The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/345.html"}],"affected":[{"vendor":"debian","product":"composer","name":"composer","label":"composer","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/composer","purlType":"deb","versions":[{"text":"< 1.0.0~alpha11-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0~alpha11-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"composer","name":"composer","label":"composer","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/composer","purlType":"deb","versions":[{"text":"< 1.0.0~beta2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.0~beta2-1","eol":null,"hubHref":null},{"vendor":"getcomposer","product":"composer","name":"composer","label":"composer","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.0.0:alpha1","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha10","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha11","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha2","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha3","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha4","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha5","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha6","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha7","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha8","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0:alpha9","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0.0:alpha1 | 1.0.0:alpha10 | 1.0.0:alpha11 | 1.0.0:alpha2 | 1.0.0:alpha3 | 1.0.0:alpha4 | 1.0.0:alpha5 | 1.0.0:alpha6 | 1.0.0:alpha7 | 1.0.0:alpha8 | 1.0.0:alpha9","eol":{"isEol":true,"eolDate":"2026-05-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"1","label":"1","eolFrom":"2026-05-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"1.10.28"},"product":{"name":"composer","label":"Composer","category":"app"}},"hubHref":"/vendor/getcomposer/composer"}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html","label":"flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html","hostname":"flyingmana.de","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/e26be423c5bcfdb38478d2f92d1f928c15afb561/composer/composer/CVE-2015-8371.yaml","label":"github.com/FriendsOfPHP/…","hostname":"github.com","tags":["Third Party Advisory"]},{"url":"https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml","label":"gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml","hostname":"gitlab.com","tags":["Third Party Advisory"]},{"url":"https://github.com/composer/composer","label":"github.com/composer/composer","hostname":"github.com","tags":["Product"]},{"url":"https://ubuntu.com/security/CVE-2015-8371","label":"ubuntu.com/security/CVE-2015-8371","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html","label":"flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html","hostname":"flyingmana.de","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-8371","label":"www.cve.org/CVERecord?id=CVE-2015-8371","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-8371","label":"security-tracker.debian.org/tracker/CVE-2015-8371","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-09-21T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-25T13:30:18.745Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":45,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:42:30.420Z","stale":false,"partial":false}}