Skip to main content

Spark CVE-2023-22946

CRITICAL
Improper Privilege Management (CWE-269)
2023-04-17 security@apache.org
9.9
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
CVE Published
Apr 17, 2023 - 08:15 nvd
CRITICAL 9.9

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 71 maven packages depend on org.apache.spark:spark-core_2.12 (28 direct, 43 indirect)
  • 31 maven packages depend on org.apache.spark:spark-core_2.13 (21 direct, 10 indirect)
  • 13 pypi packages depend on pyspark (11 direct, 2 indirect)

Ecosystem-wide dependent count for version 3.3.3 and other introduced versions.

DescriptionNVD

In Apache Spark versions prior to 3.4.0, 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 or later, and ensure that spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its default of "false", and is not overridden by submitted applications.

AnalysisAI

In Apache Spark versions prior to 3.4.0, applications using spark-submit can specify a 'proxy-user' to run as, limiting privileges. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

Technical ContextAI

This vulnerability is classified as Improper Privilege Management (CWE-269), which allows attackers to escalate privileges to gain unauthorized elevated access. In Apache Spark versions prior to 3.4.0, 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 or later, and ensure that spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its default of "false", and is not overridden by submitted applications. Affected products include: Apache Spark. Version information: prior to 3.4.0.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Apply principle of least privilege, validate privilege transitions, implement proper role separation.

More in Spark

View all
CVE-2022-33891 HIGH POC
8.8 Jul 18

The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. Rated high sev

CVE-2020-9480 CRITICAL POC
9.8 Jun 23

In Apache Spark 2.4.5 and earlier, a standalone resource manager's master may be configured to require authentication (s

CVE-2020-12772 HIGH POC
8.8 May 12

An issue was discovered in Ignite Realtime Spark 2.8.3 (and the ROAR plugin for it) on Windows. Rated high severity (CVS

CVE-2016-9177 HIGH POC
7.5 Nov 04

Directory traversal vulnerability in Spark 2.5 allows remote attackers to read arbitrary files via a .. Rated high sever

CVE-2018-11770 MEDIUM POC
4.2 Aug 13

From version 1.3.0 onward, Apache Spark's standalone master exposes a REST API for job submission, in addition to the su

CVE-2024-23945 MEDIUM POC
5.9 Dec 23

Signing cookies is an application security feature that adds a digital signature to cookie data to verify its authentici

CVE-2018-17190 CRITICAL
9.8 Nov 19

In all versions of Apache Spark, its standalone resource manager accepts code to execute on a 'master' host, that then r

CVE-2018-8024 MEDIUM POC
5.4 Jul 12

In Apache Spark 2.1.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, it's possible for a malicious user to construct a URL pointin

CVE-2023-32007 HIGH
8.8 May 02

** UNSUPPORTED WHEN ASSIGNED ** The Apache Spark UI offers the possibility to enable ACLs via the configuration option s

CVE-2017-12612 HIGH
7.8 Sep 13

In Apache Spark 1.6.0 until 2.1.1, the launcher API performs unsafe deserialization of data received by its socket. Rate

CVE-2016-1322 HIGH
7.5 Feb 12

The REST interface in Cisco Spark 2015-07-04 allows remote attackers to bypass intended access restrictions and create a

CVE-2019-10172 HIGH
7.5 Nov 18

A flaw was found in org.codehaus.jackson:jackson-mapper-asl:1.9.x libraries. Rated high severity (CVSS 7.5), this vulner

Share

CVE-2023-22946 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy