CVE-2022-40189

Apache Airlfow Pig Provider RCE

Description

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

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 1.62% Top 20%
Third-Party Advisory github.com Third-Party Advisory apache.org
Affected: Apache Software Foundation Apache Airlfow Pig Provider
Affected: Apache Software Foundation Apache Airflow
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-40189?
CVE-2022-40189 has been scored as a critical severity vulnerability.
How to fix CVE-2022-40189?
To fix CVE-2022-40189, 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-40189 being actively exploited in the wild?
It is possible that CVE-2022-40189 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-40189?
CVE-2022-40189 affects Apache Software Foundation Apache Airlfow Pig 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.