WaratekVRT Sign in

CVE-2018-1282 Apache Hive

Affected softwareApache Hive
Severity9.1 Critical CVSS 3.0 2 scores
Fixed in2.3.3
WeaknessSQL injection (CWE-89)
Published5 Apr 2018
Updated17 Jun 2026

Description

This vulnerability in Apache Hive JDBC driver 0.7.1 to 2.3.2 allows carefully crafted arguments to be used to bypass the argument escaping/cleanup that JDBC driver does in PreparedStatement implementation.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 8 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 5.5% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection.

How to mitigate CVE-2018-1282

Upgrade Apache Hive to 2.3.3 or later. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.1 CRITICAL v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 9.1 CRITICAL CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2023 ↗ CPU 2023-Q3 Oracle Analytics / Analytics Server (Apache Hive) (6.4.0.0.0, 7.0.0.0.0, 12.2.1.4.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Analytics Analytics Server (Apache Hive) 6.4.0.0.0, 7.0.0.0.0, 12.2.1.4.0 6.4.0.0.0 · 7.0.0.0.0 · 12.2.1.4.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.hive:hive-jdbc 0.7.1 2.3.3 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache hive generic ≥ 0.7.1 and ≤ 2.3.2
osv org.apache.hive hive-jdbc generic ≥ 0.7.1 and < 2.3.3

References

URLTags
https://github.com/advisories/GHSA-jf2m-435m-mxw8 ADVISORY
https://github.com/apache/hive PACKAGE
https://lists.apache.org/thread.html/74bd2bff1827febb348dfb323986fa340d3bb97a315ab93c3ccc8299@%3Cdev.hive.apache.org%3E WEB
https://web.archive.org/web/20200227125536/http://www.securityfocus.com/bid/103751 WEB
http://www.securityfocus.com/bid/103751 Third Party Advisory, VDB Entry
https://lists.apache.org/thread.html/74bd2bff1827febb348dfb323986fa340d3bb97a315ab93c3ccc8299%40%3Cdev.hive.apache.org%3E
https://exchange.xforce.ibmcloud.com/vulnerabilities/141253 Third Party Advisory

Timeline

Published2018-04-05By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.