OS Command Injection in apache-airflow-providers-apache-spark - CVE-2022-40954
Published: November 22, 2022
Vulnerability identifier: #VU69477
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-40954
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Apache Foundation
Affected software:
apache-airflow-providers-apache-spark
apache-airflow-providers-apache-spark
Detailed vulnerability description
The vulnerability allows a remote attacker to execute shell commands on the system.
The vulnerability exists due to improper input validation. A remote attacker can pass specially crafted data to the application and read arbitrary files in the task execution context, without write access to DAG files.
How to mitigate CVE-2022-40954
Install updates from vendor's website.