GHSA-932v-x9x2-vq29

Suggest an improvement
Source
https://github.com/advisories/GHSA-932v-x9x2-vq29
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-932v-x9x2-vq29/GHSA-932v-x9x2-vq29.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-932v-x9x2-vq29
Aliases
Published
2025-11-26T09:31:22Z
Modified
2025-12-02T02:13:47Z
Severity
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Hive Metastore Server is vulnerable to SQL Injection
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-89"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-12-01T19:05:04Z",
    "nvd_published_at":  "2025-11-26T09:15:46Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.apache.hive:hive-common

Package

Name
org.apache.hive:hive-common
View open source insights on deps.dev
Purl
pkg:maven/org.apache.hive/hive-common

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.1.0
Fixed
4.2.0

Affected versions

4.*
4.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-932v-x9x2-vq29/GHSA-932v-x9x2-vq29.json"

Maven / org.apache.hive:hive-metastore

Package

Name
org.apache.hive:hive-metastore
View open source insights on deps.dev
Purl
pkg:maven/org.apache.hive/hive-metastore

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.1.0
Fixed
4.2.0

Affected versions

4.*
4.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-932v-x9x2-vq29/GHSA-932v-x9x2-vq29.json"