CVE-2017-7678
Moderate severity vulnerability that affects org.apache.spark:spark-core_2.10 and org.apache.spark:spark-core_2.11
Description
In Apache Spark before 2.2.0, it is possible for an attacker to take advantage of a user's trust in the server to trick them into visiting a link that points to a shared Spark cluster and submits data including MHTML to the Spark master, or history server. This data, which could contain a script, would then be reflected back to the user and could be evaluated and executed by MS Windows-based clients. It is not an attack on Spark itself, but on the user, who may then execute the script inadvertently when viewing elements of the Spark web UIs.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.spark » spark-core_2.10 | < 2.2.0 | 2.2.0 |
| org.apache.spark » spark-core_2.11 | < 2.2.0 | 2.2.0 |
Blast radius
59% of the dependent artifacts (611) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 46,509 |
| 2 hops | 24,441 |
| 3 hops | 29,561 |
| 4 hops | 8,203 |
| 5 hops | 3,059 |
| 6 hops | 28 |
Most used dependents
- org.apache.spark » spark-sql3,176 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-streaming670 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 20261125.0317 (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-2017-7678 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-r34r-f84j-5x4x | github.com |
| Web | CVE-2017-7678-Apache-Spark-XSS-web-UI-MHTML-vulnerability-td21947.html | apache-spark-developers-list.1001551.n3.nabble.com |
| Web | bid/99603 | securityfocus.com |
