{"schemaVersion":3,"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.00509,"percentile":0.4214,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00: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":0.4214}],"last30":[{"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":0.4214}]},"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},{"text":"2.2.0 to 2.2.1","noFixRecorded":false,"fixedIn":null},{"text":"2.3.0","noFixRecorded":false,"fixedIn":null}],"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},{"text":"≥ 2.2.0, ≤ 2.2.1","noFixRecorded":false,"fixedIn":null},{"text":"2.3.0","noFixRecorded":false,"fixedIn":null}],"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},{"text":"≥ 2.2.0, < 2.2.2","noFixRecorded":false,"fixedIn":null}],"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},{"text":"≥ 2.2.0, < 2.2.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.1","noFixRecorded":false,"fixedIn":null}],"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},{"text":"< 2.1.3","noFixRecorded":false,"fixedIn":null}],"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}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:36:21.654Z","stale":false,"partial":false}}