{"id":"CVE-2018-8024","published":"2018-07-12T13:00:00Z","modified":"2024-09-17T02:10:38Z","title":"In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL…","vendor":"Apache","product":"Apache Spark","tier":"tail","description":{"text":"In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointing to a Spark cluster's UI's job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user's view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05294,"percentile":0.9277,"provenance":"source"},"cwes":[],"references":[{"url":"https://spark.apache.org/security.html#CVE-2018-8024","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba%40%3Cdev.spark.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":18.55},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"nuclei":[{"id":"CVE-2018-8024","name":"Apache Spark UI - Cross-Site Scripting","severity":"medium","path":"http/cves/2018/CVE-2018-8024.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-8024.yaml"}],"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Spark","versions":["1.0.0 to 2.1.2","2.2.0 to 2.2.1","2.3.0"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.10","vulnerableRanges":[">=2.1.0, <2.1.3",">=2.2.0, <2.2.2"],"patched":["2.1.3","2.2.2"],"from":["GHSA-8cw6-5qvp-q3wj"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.spark:spark-core_2.11","vulnerableRanges":[">=2.1.0, <2.1.3",">=2.2.0, <2.2.2",">=2.3.0, <2.3.1"],"patched":["2.1.3","2.2.2","2.3.1"],"from":["GHSA-8cw6-5qvp-q3wj"],"provenance":"source"}],"summary":{"text":"A flaw in the job and stage information pages of the Apache Spark web UI, in versions 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, lets a crafted URL cause script to run in the context of the Spark UI. An attacker needs to construct a URL to a Spark cluster's UI and trick a user into opening it, after which script can execute and expose information from that user's view of the Spark UI; some browsers block this, but Firefox and possibly others do not.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:09:32Z"},"euvd":{"id":"EUVD-2019-0376","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-12612","published":"2017-09-13","fixed":"2.1.2","kev":false,"link":{"from":"CVE-2017-12612","to":"CVE-2018-8024","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.spark:spark-core_2.11","fromFixed":"2.1.2","toFixed":"2.1.3","daysApart":302},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.spark:spark-core_2.10","fromFixed":"2.1.2","toFixed":"2.1.3","daysApart":302}]}},{"cve":"CVE-2017-7678","published":"2017-07-12","fixed":"2.2.0","kev":false,"link":{"from":"CVE-2017-7678","to":"CVE-2018-8024","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.spark:spark-core_2.11","fromFixed":"2.2.0","toFixed":"2.2.2","daysApart":365},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.spark:spark-core_2.10","fromFixed":"2.2.0","toFixed":"2.2.2","daysApart":365}]}},{"cve":"CVE-2018-1334","published":"2018-07-12","fixed":"2.3.1","kev":false},{"cve":"CVE-2018-8024","published":"2018-07-12","fixed":"2.3.1","kev":false},{"cve":"CVE-2019-10099","published":"2019-08-07","fixed":"2.3.3","kev":false,"link":{"from":"CVE-2018-8024","to":"CVE-2019-10099","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.spark:spark-core_2.11","fromFixed":"2.3.1","toFixed":"2.3.3","daysApart":391}]}},{"cve":"CVE-2022-31777","published":"2022-11-01","fixed":"3.2.2","kev":false}],"package":"Maven:org.apache.spark:spark-core_2.11"}}