Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven🐍 PyPI

CVE-2018-1334

MEDIUM

Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark

Also known asGHSA-6mqq-8r44-vmjcPYSEC-2018-25
Published
Jul 12, 2018
Updated
Jul 8, 2026
Affected
7 pkgs
Patched
7 / 7
Exploits
None indexed

Blast Radius

7 pkgs affected
org.apache.spark:spark-core_2.10org.apache.spark:spark-core_2.10org.apache.spark:spark-core_2.11org.apache.spark:spark-core_2.11org.apache.spark:spark-core_2.11🐍pyspark🐍pyspark

Real-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

7 total 7 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.apache.spark:spark-core_2.101.0.0&&< 2.1.32.1.3
Mavenorg.apache.spark:spark-core_2.102.2.0&&< 2.2.22.2.2
Mavenorg.apache.spark:spark-core_2.111.0.0&&< 2.1.32.1.3
Mavenorg.apache.spark:spark-core_2.112.2.0&&< 2.2.22.2.2
Mavenorg.apache.spark:spark-core_2.112.3.0&&< 2.3.12.3.1
🐍PyPIpyspark2.2.0&&< 2.2.22.2.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.spark:spark-core_2.10. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. 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.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether CVE-2018-1334 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to CVE-2018-1334. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2018-1334 in your dependencies?

O3 detects CVE-2018-1334 across Maven, PyPI dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.