CVE-2023-35797: Apache Airflow Hive Provider Beeline remote code execution with Principal

CVE-2023-35797 · Severity: critical · CVSS 9.8 · Published 2023-07-03

Improper Input Validation vulnerability in Apache Software Foundation Apache Airflow Hive Provider. This issue affects Apache Airflow Apache Hive Provider: before 6.1.1.

Before version 6.1.1 it was possible to bypass the security check to RCE via principal parameter. For this to be exploited it requires access to modifying the connection details.

It is recommended updating provider version to 6.1.1 in order to avoid this vulnerability.

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

Quick answers

Is CVE-2023-35797 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-35797 being exploited in the wild.
How severe is CVE-2023-35797?
Critical severity, with a CVSS score of 9.8, published 3 July 2023.
Which products and versions are affected?
apache-airflow-providers-apache-hive (PyPI) < 6.1.1, ECOSYSTEM:introduced=0,fixed=6.1.1.
Is there a fix for CVE-2023-35797?
Yes. apache-airflow-providers-apache-hive (PyPI): upgrade to 6.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-35797?
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 6.1.1 or later
    pip install "apache-airflow-providers-apache-hive>=6.1.1"

Affected products

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

Identifiers

  • CVE-2023-35797
  • GHSA-hg6c-qqcm-r79r
  • PYSEC-2026-273

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