CVE-2023-37415 Apache Airflow Apache Hive Provider: Improper Input Validation in Hive Provider with proxy_user

High 8.8 Published Updated

Attackers can inject semicolons via the proxy_user option to execute arbitrary commands in Apache Airflow Hive Provider.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-37415?

CVE-2023-37415 is a high-severity command injection vulnerability in Apache Airflow Apache Hive Provider, published on 13 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Input Validation vulnerability in Apache Software Foundation Apache Airflow Apache Hive Provider.

Patching on top of CVE-2023-35797 Before 6.1.2 the proxy_user option can also inject semicolon.

This issue affects Apache Airflow Apache Hive Provider: before 6.1.2.

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

Weakness: CWE-20

Which versions are affected by CVE-2023-37415?

3 open source packages ship an affected version, including apache-airflow-providers-apache-hive. It affects 1 product.

PackageAffectedFixed in
apache-airflow-providers-apache-hive PyPIAll versions6.1.2
apache-airflow-providers-apache-hive PyPIAll versions6.1.2
apache-airflow-providers-apache-hive PyPIAll versions6.1.2

Products include Apache Apache-Airflow-Providers-Apache-Hive.

How do I fix CVE-2023-37415?

Upgrade apache-airflow-providers-apache-hive to 6.1.2 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-37415 being exploited?

There is no known exploitation of CVE-2023-37415 in the wild and no public exploit code.

Sources

Also known as GHSA-4q2q-q5pw-2342, PYSEC-2026-1139.

Is CVE-2023-37415 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free