PT-2022-25638 · Apache · Apache Airflow+1

Id_No2015429

·

Published

2022-11-22

·

Updated

2024-03-06

·

CVE-2022-40954

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Apache Airflow Spark Provider versions prior to 4.0.0 Apache Airflow versions prior to 2.3.0
Description The issue is related to an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Spark Provider. This allows an attacker to read arbitrary files in the task execution context without write access to DAG files.
Recommendations For Apache Airflow Spark Provider versions prior to 4.0.0, manually install Spark Provider version 4.0.0 to resolve the issue. For Apache Airflow versions prior to 2.3.0, update to version 2.3.0 or later and manually install Spark Provider version 4.0.0 to resolve the issue. For Apache Airflow 2.3.0+ versions with a lower version of the Spark Provider installed, manually install Spark Provider version 4.0.0 to resolve the issue.

Fix

OS Command Injection

Weakness Enumeration

Related Identifiers

BIT-AIRFLOW-2022-40954
CVE-2022-40954
GHSA-45R6-J3CC-6MXX

Affected Products

Apache Airflow
Apache Airflow Spark Provider