CVE-2022-46421: Apache Airflow Hive Provider vulnerable to Command Injection

CVE-2022-46421 · Severity: critical · CVSS 9.8 · Published 2022-12-20

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Foundation Apache Airflow Hive Provider.This issue affects Apache Airflow Hive Provider before 5.0.0.

Technologies: apache-airflow-providers-apache-hive (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2022-46421 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-46421 being exploited in the wild.
How severe is CVE-2022-46421?
Critical severity, with a CVSS score of 9.8, published 20 December 2022.
Which products and versions are affected?
apache-airflow-providers-apache-hive (PyPI) < 5.0.0, ECOSYSTEM:introduced=0,fixed=5.0.0.
Is there a fix for CVE-2022-46421?
Yes. apache-airflow-providers-apache-hive (PyPI): upgrade to 5.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-46421?
Check whether you run apache-airflow-providers-apache-hive (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • apache-airflow-providers-apache-hive (PyPI): upgrade to 5.0.0 or later
    pip install "apache-airflow-providers-apache-hive>=5.0.0"

Affected products

  • apache-airflow-providers-apache-hive (PyPI) < 5.0.0, ECOSYSTEM:introduced=0,fixed=5.0.0

Identifiers

  • CVE-2022-46421
  • GHSA-rc58-qr9j-cpgw
  • PYSEC-2026-274

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.