CVE-2018-1334 — spark-core_2.10
MEDIUMCVE-2018-1334 is a medium-severity (CVSS 4.7) Information Exposure vulnerability in org.apache.spark:spark-core_2.10. A fix is available for org.apache.spark:spark-core_2.10 — see the affected versions and patch details below.
Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2018-1334 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.apache.spark:spark-core_2.10☕org.apache.spark:spark-core_2.10☕org.apache.spark:spark-core_2.11☕org.apache.spark:spark-core_2.11☕org.apache.spark:spark-core_2.11🐍pyspark🐍pysparkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.spark:spark-core_2.10 | ≥ 1.0.0&&< 2.1.3 | 2.1.3org.apache.spark:spark-core_2.10:2.1.3 |
| ☕Maven | org.apache.spark:spark-core_2.10 | ≥ 2.2.0&&< 2.2.2 | 2.2.2org.apache.spark:spark-core_2.10:2.2.2 |
| ☕Maven | org.apache.spark:spark-core_2.11 | ≥ 1.0.0&&< 2.1.3 | 2.1.3org.apache.spark:spark-core_2.11:2.1.3 |
| ☕Maven | org.apache.spark:spark-core_2.11 | ≥ 2.2.0&&< 2.2.2 | 2.2.2org.apache.spark:spark-core_2.11:2.2.2 |
| ☕Maven | org.apache.spark:spark-core_2.11 | ≥ 2.3.0&&< 2.3.1 | 2.3.1org.apache.spark:spark-core_2.11:2.3.1 |
| 🐍PyPI | pyspark | ≥ 2.2.0&&< 2.2.2 | 2.2.2pip install --upgrade 'pyspark==2.2.2' |
Affected Products
sparkapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.spark:spark-core_2.10, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.spark:spark-core_2.10 to 2.1.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-1334 is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Frequently Asked Questions
Is CVE-2018-1334 in your dependencies?
Find it across Maven, PyPI, including transitive dependencies.