CVE-2018-8024
Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark via crafted URL
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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.spark » spark-core_2.10 | >= 2.1.0, < 2.1.3>= 2.2.0, < 2.2.2 | 2.1.3, 2.2.2 |
| org.apache.spark » spark-core_2.11 | >= 2.1.0, < 2.1.3>= 2.2.0, < 2.2.2>= 2.3.0, < 2.3.1 | 2.1.3, 2.2.2, 2.3.1 |
Blast radius
48% of the dependent artifacts (275) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 15,199 |
| 2 hops | 3,875 |
| 3 hops | 1,777 |
| 4 hops | 72 |
| 5 hops | 17 |
| 6 hops | 17 |
Most used dependents
- org.apache.spark » spark-sql3,177 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-streaming671 usages
- org.apache.spark » spark-hive633 usages
- org.apache.spark » spark-catalyst503 usages
- org.apache.hive » hive-metastore480 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-common305 usages
- org.apache.hive » hive-service301 usages
- org.apache.hive » hive-serde206 usages
- org.apache.spark » spark-graphx143 usages
- org.apache.spark » spark-yarn130 usages
- com.holdenkarau » spark-testing-base126 usages
- org.apache.spark » spark-repl110 usages
Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-8024 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-8cw6-5qvp-q3wj | github.com |
| Web | thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba@<dev.spark.apache.org ... | lists.apache.org |
| Web | security.html | spark.apache.org |
