CVE-2022-40189: Apache Airlfow Pig Provider RCE

Published Nov 22, 2022
·
Updated

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.

Affected Software

2 affected components
Apache Airflow<2.3.0
Apache Apache-airflow-providers-apache-pig<4.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Airflow Pig Provider to a version that resolves this vulnerability.

    Fixed in 4.0.0

Event History

Nov 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-40189?

CVE-2022-40189 is an OS Command Injection vulnerability in Apache Airflow Pig Provider.

2

How severe is CVE-2022-40189?

CVE-2022-40189 has a severity rating of 9.8 (critical).

3

Which software versions are affected by CVE-2022-40189?

Apache Airflow versions up to and exclusive of 2.3.0, and Apache Airflow Pig Provider versions up to and exclusive of 4.0.0 are affected by CVE-2022-40189.

4

What is the impact of CVE-2022-40189?

CVE-2022-40189 allows an attacker to control commands executed in the task execution context without write access to DAG files.

5

Are there any references for CVE-2022-40189?

Yes, you can find references for CVE-2022-40189 at the following links: [Github Pull Request](https://github.com/apache/airflow/pull/27644) and [Apache Mailing List](https://lists.apache.org/thread/yxnfzfw2w9pj5s785k3rlyly4y44sd15).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203