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
| Vector | AV: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
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Airflow
Apache Airflow Spark Provider