Skip to content
VulniPulse
High7.8Apache Software Foundation

CVE-2022-41131: Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)

This Apache advisory covers CVE-2022-41131 in Apache Airflow Hive Provider.

Open the Apache advisory

Am I affected by CVE-2022-41131?

You are affected if you run Apache Airflow Hive Provider at one of the versions below. If you do, upgrade to the fixed release listed for your version.

AffectedFixed in
Apache Airflow Hive Provider before 4.1.04.1.0
Apache Airflow 2.3.0No fixed release on this branch listed by the vendor

Official advisory · high-confidence parse· fetched ·verify at source

Key facts

Vendor rating
High, CVSS 7.8
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · base score 7.8, scored by CISA-ADPAttack vector: local. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
1.69% chance of exploitation in the next 30 days (77th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Source published
Source revised
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationAirflowBig Data

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

Text from the source record.

How to fix CVE-2022-41131

Upgrade to the first fixed release for your version, shown in the table above.

Vendor guidance

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

End-of-life dates for Apache Airflow

CVE-2022-41131 questions

Is CVE-2022-41131 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.

Am I affected by CVE-2022-41131?

You are affected if you run Apache Airflow Hive Provider at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.

How do I fix CVE-2022-41131?

Upgrade to a fixed release Apache lists for your version: 4.1.0. The advisory's own guidance is above.

How likely is CVE-2022-41131 to be exploited?

FIRST's EPSS model gives it a 1.69% chance of exploitation in the next 30 days (77th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2022-41131?

Apache rates it high, CVSS 7.8 out of 10.

Apache Software Foundation advisories, November 2022All Apache Software Foundation advisories

Get an email when Apache Airflow publishes the next one.

See Apache Airflow's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).

Alert me about Apache Airflow