Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2017-12625

MEDIUM 4.3EPSS 73%

Moderate severity vulnerability that affects org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service

Also known as GHSA-2g9q-chq2-w8qw

Mitigation

  • Upgrade org.apache.hive:hive to one of 2.1.2, 2.2.1, 2.3.1 (or later in the same release line).
  • Upgrade org.apache.hive:hive-exec to one of 2.1.2, 2.2.1, 2.3.1 (or later in the same release line).
  • Upgrade org.apache.hive:hive-service to one of 2.1.2, 2.2.1, 2.3.1 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.apache.hive:hive (>= 2.1.0, < 2.1.2)
  • Projects that depend on Maven package org.apache.hive:hive-exec (>= 2.1.0, < 2.1.2)
  • Projects that depend on Maven package org.apache.hive:hive-service (>= 2.1.0, < 2.1.2)
  • Anyone running Apache Software Foundation Apache Hive 2.1.x before 2.1.2; 2.2.x before 2.2.1; 2.3.0

Vulnerability facts

Affected
org.apache.hive:hive >= 2.1.0, < 2.1.2; org.apache.hive:hive-exec >= 2.1.0, < 2.1.2; org.apache.hive:hive-service >= 2.1.0, < 2.1.2
Fixed in
2.1.2, 2.2.1, 2.3.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
4.3 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
1.44% chance of exploitation in 30 days (percentile 73, 2026-11-26)
CWE
CWE-200
Published
Modified

Description

Apache Hive 2.1.x before 2.1.2, 2.2.x before 2.2.1, and 2.3.x before 2.3.1 expose an interface through which masking policies can be defined on tables or views, e.g., using Apache Ranger. When a view is created over a given table, the policy enforcement does not happen correctly on the table for masked columns.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.apache.hive:hive>= 2.1.0, < 2.1.22.1.2, 2.2.1, 2.3.1osv
Maven org.apache.hive:hive-exec>= 2.1.0, < 2.1.22.1.2, 2.2.1, 2.3.1osv
Maven org.apache.hive:hive-service>= 2.1.0, < 2.1.22.1.2, 2.2.1, 2.3.1osv
Apache Software Foundation Apache Hive2.1.x before 2.1.2; 2.2.x before 2.2.1; 2.3.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2017-12625. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-12625.md
Affected: org.apache.hive:hive >= 2.1.0, < 2.1.2; org.apache.hive:hive-exec >= 2.1.0, < 2.1.2; org.apache.hive:hive-service >= 2.1.0, < 2.1.2
Fixed in: 2.1.2, 2.2.1, 2.3.1

Steps:
1. Search this machine and project for org.apache.hive:hive (Maven), org.apache.hive:hive-exec (Maven), org.apache.hive:hive-service (Maven), Apache Software Foundation Apache Hive: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2017-12625 being exploited?

There is no confirmed exploitation: CVE-2017-12625 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.44% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2017-12625?

Medium: CVSS 4.3 (v3.0, scored by NVD). Remote, login needed.

Which versions are affected by CVE-2017-12625?

org.apache.hive:hive >= 2.1.0, < 2.1.2; org.apache.hive:hive-exec >= 2.1.0, < 2.1.2; org.apache.hive:hive-service >= 2.1.0, < 2.1.2.

Is there a fix for CVE-2017-12625?

Yes. Fixed in 2.1.2, 2.2.1, 2.3.1. Upgrade org.apache.hive:hive to one of 2.1.2, 2.2.1, 2.3.1 (or later in the same release line). Upgrade org.apache.hive:hive-exec to one of 2.1.2, 2.2.1, 2.3.1 (or later in the same release line). Upgrade org.apache.hive:hive-service to one of 2.1.2, 2.2.1, 2.3.1 (or later in the same release line).

How do I check if I'm affected by CVE-2017-12625?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors