Vulnerability · Published Aug 28, 2023 · Assigned by apache

CVE-2023-40195Apache Airflow Spark Provider Deserialization Vulnerability RCE

High 8.8

In plain English

A high-severity unsafe deserialization in Apache Airflow Spark Provider from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.9%top 20.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Deserialization of Untrusted Data, Inclusion of Functionality from Untrusted Control Sphere vulnerability in Apache Software Foundation Apache Airflow Spark Provider. When the Apache Spark provider is installed on an Airflow deployment, an Airflow user that is authorized to configure Spark hooks can effectively run arbitrary code on the Airflow node by pointing it at a malicious Spark server. Prior to version 4.1.3, this was not called out in the documentation explicitly, so it is possible that administrators provided authorizations to configure Spark hooks without taking this into account. We recommend administrators to review their configurations to make sure the authorization to configure Spark hooks is only provided to fully trusted users. To view the warning in the docs please visit  https://airflow.apache.org/docs/apache-airflow-providers-apache-spark/4.1.3/connections/spark.html

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIapache-airflow-providers-apache-spark4.1.3GHSA-8q28-pw9g-w82c
PyPIapache-airflow-providers-apache-spark4.1.3PYSEC-2023-156

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Airflow Spark Provider 0 – before 4.1.3

Weakness: CWE-502, CWE-829 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References