CVE-2022-41131

Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)

Description

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Hive Provider, Apache Airflow allows an attacker to execute arbtrary commands in the task execution context, without write access to DAG files. This issue affects Hive Provider versions prior to 4.1.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case HIve Provider is installed (Hive Provider 4.1.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the HIve Provider version 4.1.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Hive Provider installed).

Category

7.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.17%
Third-Party Advisory github.com Third-Party Advisory apache.org
Affected: Apache Software Foundation Apache Airflow Hive Provider
Affected: Apache Software Foundation Apache Airflow
Published at:
Updated at:

References

Link Tags
https://github.com/apache/airflow/pull/27647 third party advisory patch
https://lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhl issue tracking mailing list third party advisory

Frequently Asked Questions

What is the severity of CVE-2022-41131?
CVE-2022-41131 has been scored as a high severity vulnerability.
How to fix CVE-2022-41131?
To fix CVE-2022-41131, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-41131 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-41131 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-41131?
CVE-2022-41131 affects Apache Software Foundation Apache Airflow Hive Provider, Apache Software Foundation Apache Airflow.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.