Apache Airflow Apache Hive Provider: Improper Input Validation in Hive Provider with proxy_user
Description
Improper input validation in Apache Airflow Hive Provider before 6.1.2 allows proxy_user option to inject semicolons, enabling SQL injection.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Improper input validation in Apache Airflow Hive Provider before 6.1.2 allows proxy_user option to inject semicolons, enabling SQL injection.
Vulnerability
Analysis
CVE-2023-37415 is an improper input validation vulnerability in the Apache Airflow Hive Provider, affecting versions prior to 6.1.2. The issue arises because the proxy_user option does not properly sanitize user input, allowing the injection of semicolons. This builds upon a prior vulnerability, CVE-2023-35797, which was patched but left this vector unaddressed [2].
Exploitation
An attacker with the ability to specify the proxy_user value in a Hive connection can inject a semicolon to terminate the intended SQL statement and append additional arbitrary SQL commands. This attack requires some level of access to Airflow (e.g., ability to create or modify connections) but does not require authentication beyond standard Airflow user permissions [2]. The injection occurs because the provider does not adequately validate or escape semicolons before constructing the connection string.
Impact
Successful exploitation could allow an attacker to execute arbitrary SQL commands on the Hive metastore, potentially leading to data exfiltration, modification, or privilege escalation within the Hadoop/Hive environment [3]. The vulnerability is rated moderate severity.
Mitigation
The vulnerability is fixed in Apache Airflow Hive Provider version 6.1.2. Users are strongly advised to update their provider package to this version or later [2]. No workarounds are mentioned; updating is the recommended remediation.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
apache-airflow-providers-apache-hivePyPI | < 6.1.2 | 6.1.2 |
Affected products
2- Range: 0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-4q2q-q5pw-2342ghsaADVISORY
- lists.apache.org/thread/9wx0jlckbnycjh8nj5qfwxo423zvm41kghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-37415ghsaADVISORY
- www.openwall.com/lists/oss-security/2023/07/12/3ghsaWEB
News mentions
0No linked articles in our index yet.