{"schemaVersion":4,"id":"CVE-2018-1334","aliases":["GHSA-6mqq-8r44-vmjc","PYSEC-2018-25"],"status":"published","duplicateOf":null,"title":null,"description":"In Apache Spark 1.0.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, when using PySpark or SparkR, it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application.","dates":{"published":"2018-07-12T13:00:00.000Z","modified":"2024-09-17T03:22:59.383Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":1.9,"severity":"low","vector":"AV:L/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":4.7,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":2.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":6,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":4.7,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","exploitability":2.6,"impact":6,"computed":true}]},"epss":{"probability":0.00504,"percentile":0.44735,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.00499999999999997,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00509},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00603,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00504,"percentile":0.44735}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00509,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00504,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00504,"percentile":0.44735}]},"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-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"vendor":"apache software foundation","product":"apache spark","name":"Apache Spark","label":"apache spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.0.0 to 2.1.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"1.0.0 to 2.1.2","startInclusive":true,"end":"1.0.0 to 2.1.2","endInclusive":true}},{"text":"2.2.0 to 2.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0 to 2.2.1","startInclusive":true,"end":"2.2.0 to 2.2.1","endInclusive":true}},{"text":"2.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.3.0","startInclusive":true,"end":"2.3.0","endInclusive":true}}],"versionsText":"1.0.0 to 2.1.2 | 2.2.0 to 2.2.1 | 2.3.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_spark"},{"vendor":"apache","product":"spark","name":"Spark","label":"spark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.1.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.1.2","endInclusive":true}},{"text":"≥ 2.2.0, ≤ 2.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0","startInclusive":true,"end":"2.2.1","endInclusive":true}},{"text":"2.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.3.0"}}],"versionsText":"≤ 2.1.2 | ≥ 2.2.0, ≤ 2.2.1 | 2.3.0","eol":{"isEol":true,"eolDate":"2019-08-25T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"2.3","label":"2.3","eolFrom":"2019-08-25T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"2.3.4"},"product":{"name":"apache-spark","label":"Apache Spark","category":"server-app"}},"hubHref":"/vendor/apache/spark"},{"vendor":"org.apache.spark","product":"spark-core_2.10","name":"org.apache.spark:spark-core_2.10","label":"spark-core_2.10","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-core_2.10","purlType":"maven","versions":[{"text":"≥ 1.0.0, < 2.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"1.0.0","startInclusive":true,"end":"2.1.3","endInclusive":false}},{"text":"≥ 2.2.0, < 2.2.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0","startInclusive":true,"end":"2.2.2","endInclusive":false}}],"versionsText":"≥ 1.0.0, < 2.1.3 | ≥ 2.2.0, < 2.2.2","eol":null,"hubHref":null},{"vendor":"org.apache.spark","product":"spark-core_2.11","name":"org.apache.spark:spark-core_2.11","label":"spark-core_2.11","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.spark/spark-core_2.11","purlType":"maven","versions":[{"text":"≥ 1.0.0, < 2.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"1.0.0","startInclusive":true,"end":"2.1.3","endInclusive":false}},{"text":"≥ 2.2.0, < 2.2.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0","startInclusive":true,"end":"2.2.2","endInclusive":false}},{"text":"≥ 2.3.0, < 2.3.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.3.0","startInclusive":true,"end":"2.3.1","endInclusive":false}}],"versionsText":"≥ 1.0.0, < 2.1.3 | ≥ 2.2.0, < 2.2.2 | ≥ 2.3.0, < 2.3.1","eol":null,"hubHref":null},{"vendor":"PyPI","product":"pyspark","name":"pyspark","label":"pyspark","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pyspark","purlType":"pypi","versions":[{"text":"≥ 2.2.0, < 2.2.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0","startInclusive":true,"end":"2.2.2","endInclusive":false}},{"text":"< 2.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.1.3","endInclusive":false}}],"versionsText":"≥ 2.2.0, < 2.2.2 | < 2.1.3","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://spark.apache.org/security.html#CVE-2018-1334","label":"spark.apache.org/security.html","hostname":"spark.apache.org","tags":["X Refsource CONFIRM","Mitigation","Vendor Advisory","WEB"]},{"url":"https://lists.apache.org/thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060%40%3Cdev.spark.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1334","label":"nvd.nist.gov/vuln/detail/CVE-2018-1334","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-6mqq-8r44-vmjc","label":"github.com/advisories/GHSA-6mqq-8r44-vmjc","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2018-25.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2018-25.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.apache.org/thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060@%3Cdev.spark.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-07-12T13:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T03:22:59.383Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,47],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00504,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-09-17T03:22:59.383Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.0","headline":true},{"type":"cvss","source":"nvd","date":"2024-09-17T03:22:59.383Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":1.9,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},{"type":"cvss","source":"osv_pypi","date":"2024-09-17T03:22:59.383Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_pypi","date":"2024-09-17T03:22:59.383Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},{"type":"cvss","source":"osv_maven","date":"2024-09-17T03:22:59.383Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_maven","date":"2024-09-17T03:22:59.383Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.0"}],"epss":{"value":0.00504,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:40:23.681Z","stale":false,"partial":false}}