CVE-2018-11804
Improper Input Validation in Apache Spark
Description
Spark's Apache Maven-based build includes a convenience script, 'build/mvn', that downloads and runs a zinc server to speed up compilation. It has been included in release branches since 1.3.x, up to and including master. This server will accept connections from external hosts by default. A specially-crafted request to the zinc server could cause it to reveal information in files readable to the developer account running the build. Note that this issue does not affect end users of Spark, only developers building Spark from source code.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.spark » spark-core_2.10 | >= 1.3.0, <= 2.1.3 | - |
| org.apache.spark » spark-core_2.11 | >= 1.3.0, <= 2.1.3 | - |
Blast radius
59% of the dependent artifacts (539) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 38,779 |
| 2 hops | 22,070 |
| 3 hops | 29,401 |
| 4 hops | 8,182 |
| 5 hops | 3,045 |
| 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-2018-11804 | nvd.nist.gov |
| Package | apache/spark | github.com |
| Web | thread.html/2b11aa4201e36f2ec8f728e722fe33758410f07784379cbefd0bda9d@<dev.spark.apache.org ... | lists.apache.org |
| Web | thread.html/2b11aa4201e36f2ec8f728e722fe33758410f07784379cbefd0bda9d@<dev.spark.apache.org ... | lists.apache.org |
| Web | security.html | spark.apache.org |
| Web | web/20200227103903/http:/www.securityfocus.com/bid/105756 | web.archive.org |
