GHSA-329j-jfvr-rhr6

Suggest an improvement
Source
https://github.com/advisories/GHSA-329j-jfvr-rhr6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-329j-jfvr-rhr6/GHSA-329j-jfvr-rhr6.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-329j-jfvr-rhr6
Aliases
Published
2023-04-17T09:30:23Z
Modified
2024-10-16T02:17:32.994340Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Apache Spark vulnerable to Improper Privilege Management
Details

In Apache Spark versions prior to versions 3.4.0 and 3.3.3, applications using spark-submit can specify a proxy-user to run as, limiting privileges. The application can execute code with the privileges of the submitting user, however, by providing malicious configuration-related classes on the classpath. This affects architectures relying on proxy-user, for example those using Apache Livy to manage submitted applications.

Update to Apache Spark 3.4.0, 3.3.3, or later, and ensure that spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its default of "false", and is not overridden by submitted applications.

Database specific
{
    "nvd_published_at": "2023-04-17T08:15:00Z",
    "cwe_ids": [
        "CWE-269"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-04-21T20:37:59Z"
}
References

Affected packages

Maven / org.apache.spark:spark-core_2.12

Package

Name
org.apache.spark:spark-core_2.12
View open source insights on deps.dev
Purl
pkg:maven/org.apache.spark/spark-core_2.12

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.3

Affected versions

2.*

2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8

3.*

3.0.0
3.0.0-preview
3.0.0-preview2
3.0.1
3.0.2
3.0.3
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0
3.3.1
3.3.2

Database specific

{
    "last_known_affected_version_range": "<= 3.3.2"
}

Maven / org.apache.spark:spark-core_2.13

Package

Name
org.apache.spark:spark-core_2.13
View open source insights on deps.dev
Purl
pkg:maven/org.apache.spark/spark-core_2.13

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.3

Affected versions

3.*

3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0
3.3.1
3.3.2

Database specific

{
    "last_known_affected_version_range": "<= 3.3.2"
}

PyPI / pyspark

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.2

Affected versions

2.*

2.1.1
2.1.2
2.1.3
2.2.0
2.2.1
2.2.2
2.2.3
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0
3.3.1