PT-2023-4749 · Apache · Apache Airflow Spark Provider

Happyhacking-K

·

Published

2023-08-25

·

Updated

2023-09-08

·

CVE-2023-40195

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Apache Airflow Spark Provider versions prior to 4.1.3
Description The issue is related to deserialization of untrusted data and inclusion of functionality from an untrusted control sphere. When the Apache Spark provider is installed on an Airflow deployment, an authorized Airflow user can run arbitrary code on the Airflow node by pointing it at a malicious Spark server. Administrators may have provided authorizations to configure Spark hooks without considering this risk, as it was not explicitly mentioned in the documentation prior to version 4.1.3.
Recommendations To resolve the issue, administrators should review their configurations to ensure that authorization to configure Spark hooks is only provided to fully trusted users. For versions prior to 4.1.3, consider restricting access to the Spark hooks configuration to minimize the risk of exploitation until a patch is available.

Fix

Deserialization of Untrusted Data

Weakness Enumeration

Related Identifiers

BDU:2023-05183
CVE-2023-40195
GHSA-8Q28-PW9G-W82C
PYSEC-2023-156

Affected Products

Apache Airflow Spark Provider