OS Command Injection in apache-airflow-providers-apache-spark - CVE-2022-40954

 

OS Command Injection in apache-airflow-providers-apache-spark - CVE-2022-40954

Published: November 22, 2022


Vulnerability identifier: #VU69477
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2022-40954
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

apache-airflow-providers-apache-spark

How to mitigate CVE-2022-40954

Install updates from vendor's website.

apache-airflow-providers-apache-spark - update to 4.0.0

External References

Related Security Bulletins