CVE-2018-11760: Pyspark Pyspark User Impersonation Vulnerability Vulnerability
MODERATECVE-2018-11760 is a MODERATE (CVSS 5.5) pyspark user impersonation vulnerability vulnerability (General Security Weakness) affecting Pyspark libraries in the PyPI ecosystem. The issue involves pyspark user impersonation vulnerability. Remediation is available by upgrading affected packages to version 2.3.2, 2.2.3.
CVE-2018-11760 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2018-11760
To remediate this vulnerability, upgrade all affected Pyspark dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pyspark>=2.3.2
pip install pyspark>=2.2.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pyspark
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-11760, inspect your installed packages using pip:
pip show pyspark
Analyze the terminal output to locate any version of Pyspark in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.2), your application is affected.
Note: The pip show pyspark command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Pyspark, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-11760 Affected Pyspark Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pyspark
|
PyPI |
≥ 2.3.0
< 2.3.2
|
2.3.2
|
|
pyspark
|
PyPI |
≥ 1.0.2
< 2.2.3
|
2.2.3
|
References
Frequently Asked Questions
What is CVE-2018-11760?
Which Pyspark versions are affected?
What version fixes CVE-2018-11760?
Is pyspark affected?
What is the CVSS score of CVE-2018-11760?
What CWE is associated with CVE-2018-11760?
How can I check PyPI dependencies for CVE-2018-11760?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fvxv-9xxr-h7wj",
"modified" : "2024-10-24T21:44:45Z",
"published" : "2019-02-07T18:02:21Z",
"aliases" : [ "CVE-2018-11760" ],
"summary" : "Pyspark User Impersonation Vulnerability",
"details" : "When using PySpark , it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application. This affects versions 1.x, 2.0.x, 2.1.x, 2.2.0 to 2.2.2, and 2.3.0 to 2.3.1.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyspark"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyspark"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.2"
}, {
"fixed" : "2.2.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-11760"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-fvxv-9xxr-h7wj"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/spark"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2019-169.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/6d015e56b3a3da968f86e0b6acc69f17ecc16b499389e12d8255bf6e@%3Ccommits.spark.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/a86ee93d07b6f61b82b61a28049aed311f5cc9420d26cc95f1a9de7b@%3Cuser.spark.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227091119/http://www.securityfocus.com/bid/106786"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200925111106/https://issues.apache.org/jira/browse/SPARK-26802"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:35:31Z",
"nvd_published_at" : "2019-02-04T17:29:00Z"
}
}