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