PUBLISHED
2025-11-26 09:15
MODIFIED
2025-11-26 09:15
EPSS (Prob. Exploit)
0.42%
Top 63.2%
> DESCRIPTION
SQL injection vulnerability in Hive Metastore Server (HMS) when processing delete column statistics requests via the Thrift APIs. The vulnerability is only exploitable by trusted/authorized users/applications that are allowed to call directly the Thrift APIs. In most real-world deployments, HMS is accessible to only a handful of applications (e.g., Hiveserver2) thus the vulnerability is not exploitable. Moreover, the vulnerable code cannot be reached when metastore.try.direct.sql property is set to false.
This issue affects Apache Hive: from 4.1.0 before 4.2.0.
Users are recommended to upgrade to version 4.2.0, which fixes the issue. Users who cannot upgrade directly are encouraged to set metastore.try.direct.sql property to false if the HMS Thrift APIs are exposed to general public.
> AFFECTED_PRODUCTS
ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.
> CWE DETAILED DESCRIPTIONS
CWE-89: Improper Neutralization of Special Elements used in an SQL Command - The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
> GITHUB SECURITY ADVISORY
GHSA-932v-x9x2-vq29
HIGH
Hive Metastore Server is vulnerable to SQL Injection
AFFECTED PACKAGES:
MAVEN / org.apache.hive:hive-metastore
>= 4.1.0, < 4.2.0
Fixed in: 4.2.0
MAVEN / org.apache.hive:hive-common
>= 4.1.0, < 4.2.0
Fixed in: 4.2.0
> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)
Apache Hive: SQL injection vulnerability when processing delete column statistics requests via the HMS Thrift APIs
AFFECTED PACKAGES:
Unknown / Unknown
2 versions affected
ALIASES:
GHSA-932v-x9x2-vq29
> HISTORIQUE DES MODIFICATIONS
Première apparition
26/11/2025 09:15
Source: NVD
📊
ENRICHISSEMENT
01/11/2026 06:58
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') - The product constructs all or part of an SQL command using externally-influenced input from an upstream c...
Nouvelle valeur:
CWE-89: Improper Neutralization of Special Elements used in an SQL Command - The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it d...
📊
ENRICHISSEMENT
19/01/2026 17:37
CVEPROJECT
Champ modifié: CVE Project
📊
ENRICHISSEMENT
01/12/2025 06:01
CWE
Champ modifié: Description CWE
Nouvelle valeur:
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') - The product constructs all or part of an SQL command using externally-influenced input from an upstream c...
Total des modifications: 3
Dernière mise à jour: 1 week ago