Description
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.
Remediation
References
https://lists.apache.org/thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba%40%3Cdev.spark.apache.org%3E
https://spark.apache.org/security.html#CVE-2018-8024
Related Vulnerabilities
CVE-2018-14042 Vulnerability in maven package org.webjars.npm:bootstrap-sass
CVE-2021-44548 Vulnerability in maven package org.apache.solr:solr-core
CVE-2022-3916 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2023-46650 Vulnerability in maven package com.coravy.hudson.plugins.github:github