VYPR
High severityNVD Advisory· Published Jul 13, 2023· Updated Feb 13, 2025

Apache Airflow Apache Hive Provider: Improper Input Validation in Hive Provider with proxy_user

CVE-2023-37415

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.

PackageAffected versionsPatched versions
apache-airflow-providers-apache-hivePyPI
< 6.1.26.1.2

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.