Privilege escalation in Snowflake Hive Metastore Connector
CVE-2024-28851
The Snowflake Hive metastore connector provides an easy way to query Hive-managed data via Snowflake. Snowflake Hive MetaStore Connector has addressed a potential elevation of privilege vulnerability in a `helper script` for the Hive MetaStore Connector. A malicious insider without admin privileges could, in theory, use the script to download content from a Microsoft domain to the local system and replace the valid content with malicious code. If the attacker then also had local access to the same system where the maliciously modified script is run, they could attempt to manipulate users into executing the attacker-controlled helper script, potentially gaining elevated privileges to the local system. The vulnerability in the script was patched on February 09, 2024, without a version bump to the Connector. User who use the helper script are strongly advised to use the latest version as soon as possible. Users unable to upgrade should avoid using the helper script.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.003, 16.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Snowflake Hive Metastore Connector
- Snowflakedb Snowflake-Hive-Metastore-Connector — versions < dfbf87dff4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (0x0806/JWT-Security-Assessment, NaInSec/CVE-LIST). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/snowflakedb/snowflake-hive-metastore-connector/security/advisories/GHSA-r68p-g2x9-mq7x (Third Party Advisory)
- https://github.com/snowflakedb/snowflake-hive-metastore-connector/commit/dfbf87dff456f6bb62c927711d97316f0c71d8ca (Patch)
- https://github.com/snowflakedb/snowflake-hive-metastore-connector/blob/master/scripts/add_snowflake_hive_metastore_connector_script_action.sh (Product)