CVE-2018-1334
Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark
Description
In Apache Spark 1.0.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, when using PySpark or SparkR, it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.spark » spark-core_2.10 | >= 1.0.0, < 2.1.3>= 2.2.0, < 2.2.2 | 2.1.3, 2.2.2 |
| org.apache.spark » spark-core_2.11 | >= 1.0.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
64% of the dependent artifacts (775) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 54,565 |
| 2 hops | 26,458 |
| 3 hops | 30,744 |
| 4 hops | 8,169 |
| 5 hops | 3,039 |
| 6 hops | 45 |
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.
Other ecosystems
Also affects PyPI (1 package) . See all on OSV
References
| Advisory | NVD CVE-2018-1334 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-6mqq-8r44-vmjc | github.com |
| Web | pypa/advisory-database PYSEC-2018-25.yaml | github.com |
| Web | thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060@<dev.spark.apache.org ... | lists.apache.org |
| Web | security.html | spark.apache.org |
