Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04cTI4LXB3OWctdzgyY84AA1hs

Apache Airflow vulnerable arbitrary code execution via Spark server

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

Permalink: https://github.com/advisories/GHSA-8q28-pw9g-w82c
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04cTI4LXB3OWctdzgyY84AA1hs
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 8 months ago
Updated: 6 months ago


CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-8q28-pw9g-w82c, CVE-2023-40195
References: Repository: https://github.com/apache/airflow
Blast Radius: 16.2

Affected Packages

pypi:apache-airflow-providers-apache-spark
Dependent packages: 5
Dependent repositories: 69
Downloads: 184,375 last month
Affected Version Ranges: < 4.1.3
No known fixed version
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 3.0.0, 4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2