{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-1334","published":"2018-07-12T13:29:00.227000Z","last_modified":"2026-06-17T01:51:02.610000Z","status":"Modified","cvss":{"version":"3.0","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","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-200"],"cpes":[{"criteria":"cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"spark","version_end_including":"2.1.2"},{"criteria":"cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"spark","version_start_including":"2.2.0","version_end_including":"2.2.1"},{"criteria":"cpe:2.3:a:apache:spark:2.3.0:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"spark","version":"2.3.0"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/spark"],"epss":{"score":0.00504,"percentile":0.36283,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6mqq-8r44-vmjc","ecosystem":"Maven","name":"org.apache.spark:spark-core_2.10","purl":"pkg:maven/org.apache.spark/spark-core_2.10","ranges":[{"introduced":"1.0.0","fixed":"2.1.3"}],"versions":["1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","1.2.0","1.2.1","1.2.2","1.3.0","1.3.1","1.4.0","1.4.1","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.6.3","2.0.0","2.0.0-preview","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2"],"versions_truncated":false},{"advisory":"GHSA-6mqq-8r44-vmjc","ecosystem":"Maven","name":"org.apache.spark:spark-core_2.10","purl":"pkg:maven/org.apache.spark/spark-core_2.10","ranges":[{"introduced":"2.2.0","fixed":"2.2.2"}],"versions":["2.2.0","2.2.1"],"versions_truncated":false},{"advisory":"GHSA-6mqq-8r44-vmjc","ecosystem":"Maven","name":"org.apache.spark:spark-core_2.11","purl":"pkg:maven/org.apache.spark/spark-core_2.11","ranges":[{"introduced":"1.0.0","fixed":"2.1.3"}],"versions":["1.2.0","1.2.1","1.2.2","1.3.0","1.3.1","1.4.0","1.4.1","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.6.3","2.0.0","2.0.0-preview","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2"],"versions_truncated":false},{"advisory":"GHSA-6mqq-8r44-vmjc","ecosystem":"Maven","name":"org.apache.spark:spark-core_2.11","purl":"pkg:maven/org.apache.spark/spark-core_2.11","ranges":[{"introduced":"2.2.0","fixed":"2.2.2"}],"versions":["2.2.0","2.2.1"],"versions_truncated":false},{"advisory":"GHSA-6mqq-8r44-vmjc","ecosystem":"Maven","name":"org.apache.spark:spark-core_2.11","purl":"pkg:maven/org.apache.spark/spark-core_2.11","ranges":[{"introduced":"2.3.0","fixed":"2.3.1"}],"versions":["2.3.0"],"versions_truncated":false},{"advisory":"GHSA-6mqq-8r44-vmjc","ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":[{"introduced":"2.2.0","fixed":"2.2.2"}],"versions":["2.2.0","2.2.1"],"versions_truncated":false},{"advisory":"GHSA-6mqq-8r44-vmjc","ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":[{"introduced":"0","fixed":"2.1.3"}],"versions":["2.1.1","2.1.2"],"versions_truncated":false},{"advisory":"PYSEC-2018-25","ecosystem":"PyPI","name":"pyspark","purl":"pkg:pypi/pyspark","ranges":[{"introduced":"2.2.0","fixed":"2.2.2"},{"introduced":"0","fixed":"2.1.3"}],"versions":["2.1.1","2.1.2","2.2.0","2.2.1"],"versions_truncated":false}],"severity":"medium","priority_score":28,"links":{"html_es":"/es/cve/CVE-2018-1334/","html_en":"/en/cve/CVE-2018-1334/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-1334","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-1334"},"untrusted":{"vendor_name":"Apache","product_name":"Spark","desc_en":"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.","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache Spark","versions":[]}],"references":[{"url":"https://lists.apache.org/thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060%40%3Cdev.spark.apache.org%3E","tags":[]},{"url":"https://spark.apache.org/security.html#CVE-2018-1334","tags":["Mitigation","Vendor Advisory"]}]}}