Remote Code Execution (RCE) Affecting apache-airflow-providers-apache-hive package, versions [,6.1.1rc1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-APACHEAIRFLOWPROVIDERSAPACHEHIVE-5750791
  • published3 Jul 2023
  • disclosed3 Jul 2023
  • creditid_No2015429

Introduced: 3 Jul 2023

CVE-2023-35797  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade apache-airflow-providers-apache-hive to version 6.1.1rc1 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE) by bypassing the security check on the beeline principal parameter passed to the _prepare_cli_cmd() function. Attackers with permission to modify the connection details can trigger code execution.

CVSS Base Scores

version 3.1