{"schemaVersion":3,"id":"CVE-2019-6339","aliases":["UBUNTU-CVE-2019-6339","DLA-1659-1"],"status":"published","duplicateOf":null,"title":null,"description":"In Drupal Core versions 7.x prior to 7.62, 8.6.x prior to 8.6.6 and 8.5.x prior to 8.5.9; A remote code execution vulnerability exists in PHP's built-in phar stream wrapper when performing file operations on an untrusted phar:// URI. Some Drupal code (core, contrib, and custom) may be performing file operations on insufficiently validated user input, thereby being exposed to this vulnerability. This vulnerability is mitigated by the fact that such code paths typically require access to an administrative permission or an atypical configuration.","dates":{"published":"2019-01-22T15:00:00.000Z","modified":"2024-09-16T20:06:38.516Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.35577,"percentile":0.98448,"severity":"high","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":2.3489999999999958,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.33228},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.27372,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.35577,"percentile":0.98448}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.27372,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.33228,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.35577,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.35577,"percentile":0.98448}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"drupal7","name":"drupal7","label":"drupal7","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/drupal7","purlType":"deb","versions":[{"text":"< 7.32-1+deb8u14","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.32-1+deb8u14","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"drupal7","name":"drupal7","label":"drupal7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/drupal7","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"drupal","product":"drupal","name":"drupal","label":"drupal","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0, < 7.62","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.0, < 8.5.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.6.0, < 8.6.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0, < 7.62 | ≥ 8.5.0, < 8.5.9 | ≥ 8.6.0, < 8.6.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"drupal","label":"Drupal","category":"server-app"}},"hubHref":"/vendor/drupal/drupal"},{"vendor":"drupal","product":"drupal core","name":"Drupal core","label":"drupal core","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.x, < 7.62","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.6.x, < 8.6.6.","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.x, < 8.5.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.x, < 7.62 | ≥ 8.6.x, < 8.6.6. | ≥ 8.5.x, < 8.5.9","eol":null,"hubHref":"/vendor/drupal/drupal_core"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.debian.org/security/2019/dsa-4370","label":"www.debian.org/security/2019/dsa-4370","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","REPORT","Third Party Advisory"]},{"url":"https://www.drupal.org/sa-core-2019-002","label":"www.drupal.org/sa-core-2019-002","hostname":"www.drupal.org","tags":["X Refsource CONFIRM","REPORT","Patch","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00004.html","label":"lists.debian.org/debian-lts-announce/2019/02/msg00004.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-6339","label":"ubuntu.com/security/CVE-2019-6339","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-6339","label":"www.cve.org/CVERecord?id=CVE-2019-6339","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["DSA-4370-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-01-22T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T20:06:38.516Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:41:22.772Z","stale":false,"partial":false}}