OS command injection in Apache Airflow Spark Provider



Published: 2022-11-22
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-40954
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
apache-airflow-providers-apache-spark
Universal components / Libraries / Programming Languages & Components

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU69477

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-40954

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

apache-airflow-providers-apache-spark: 1.0.0 - 3.0.0

External links

http://seclists.org/oss-sec/2022/q4/155
http://github.com/apache/airflow/pull/27646


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###