CVE-2023-22946
April 17, 2023
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 Packages
org.apache.spark:spark-core_2.12 (JAVA):
Affected version(s) >=2.4.0 <3.3.3Fix Suggestion:
Update to version 3.3.3org.apache.spark:spark-core_2.13 (JAVA):
Affected version(s) >=3.2.0 <3.3.3Fix Suggestion:
Update to version 3.3.3pyspark (PYTHON):
Affected version(s) >=2.1.1 <3.3.2Fix Suggestion:
Update to version 3.3.2Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Privilege Management
EPSS
Base Score:
0.37