Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1334

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1334
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:06 UTC · Revision 1

Source evidence

CVE-2018-1334

core-osv · Original source

Published 12 Jul 2018, 13:29 UTC

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.

osv:CVE-2018-1334
Complete source record
{
  "id": "2c8e469e043ea2b97bfd42de0ef9a7a7c1dce5d1d2132eb8893df9217cda32a5",
  "url": "https://osv.dev/vulnerability/CVE-2018-1334",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1334",
    "summary": "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.",
    "evidence": "osv:CVE-2018-1334",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-1334",
      "aliases": [
        "CVE-2018-1334",
        "GHSA-6mqq-8r44-vmjc",
        "PYSEC-2018-25"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/spark",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "2abaea9e40fce81cd4626498e0f5c28a70917499"
                },
                {
                  "introduced": "a2c7b2133cfee7fa9abfaa2bfbfb637155466783"
                },
                {
                  "last_affected": "e30e2698a2193f0bbdcd4edb884710819ab6397c"
                },
                {
                  "introduced": "992447fb30ee9ebb3cf794f2d06f4d63a2d792db"
                },
                {
                  "last_affected": "992447fb30ee9ebb3cf794f2d06f4d63a2d792db"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "last_affected": "2.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:spark:2.3.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "last_affected": "2.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.0",
            "v2.3.0",
            "v2.2.1-rc2",
            "v2.2.1",
            "v2.2.1-rc1",
            "v2.1.2-rc4",
            "v2.1.2",
            "v2.1.2-rc3",
            "v2.1.2-rc2",
            "v2.1.2-rc1",
            "v2.2.0",
            "v2.1.1",
            "v2.1.0",
            "v0.7.0",
            "v0.6.0",
            "0.3-scala-2.8",
            "alpha-0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1334.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:48.649189162Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060%40%3Cdev.spark.apache.org%3E",
        "https://spark.apache.org/security.html#CVE-2018-1334"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-1334",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436813,
  "published_at": "2018-07-12T13:29:00.227+00:00"
}