Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow-providers-apache-spark
  4. ›
  5. CVE-2023-40195

CVE-2023-40195: Inclusion of Functionality from Untrusted Control Sphere

August 28, 2023 (updated August 30, 2023)

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.

References

  • github.com/advisories/GHSA-8q28-pw9g-w82c
  • github.com/apache/airflow/commit/6850b5c777fa515e110ad1daa85242209a8ec6c0
  • github.com/apache/airflow/pull/33233
  • lists.apache.org/thread/fzy95b1d6zv31j5wrx3znhzcscck2o24
  • nvd.nist.gov/vuln/detail/CVE-2023-40195

Code Behaviors & Features

Detect and mitigate CVE-2023-40195 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.3

Fixed versions

  • 4.1.3

Solution

Upgrade to version 4.1.3 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

pypi/apache-airflow-providers-apache-spark/CVE-2023-40195.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.