Skip to main content
Network Thinking Solutions Logo

CVE-2022-41131

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.

All CVEs
CVE-2022-41131Published 11/22/2022

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.

Vendor advisory
CVSS 3.17.8High

Overview

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).

Published
11/22/2022
Last modified
11/27/2026
CVE assigner
apache
NVD analysis
Modified

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
airflow
apache
< 2.3.0

Verify advisory

Source
apache-airflow-providers-apache-hive
apache
< 4.1.0

Verify advisory

Source
Apache Airflow Hive Provider
Apache Software Foundation
< 4.1.0

Verify advisory

Source
Apache Airflow
Apache Software Foundation
2.3.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

github.com/apache/airflow/pull/27647Patch · Third Party Advisory

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.8 · High CVSS 3.1

Scored by CISA-ADP

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

7.8 · High CVSS 3.1

Scored by nvd@nist.gov

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

7.8 · High CVSS 3.1

Scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Related weaknesses

Sources & references

github.com/apache/airflow/pull/27647
x_transferred
Patch
Third Party Advisory
lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhl
x_transferred
Issue Tracking
Mailing List
Third Party Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.