Home / Apache Software Foundation / Apache Hive / CVE-2018-1282
CVE-2018-1282: is it exploited, and which versions of Apache Software Foundation Apache Hive are affected and fixed?
CVE-2018-1282 is a SQL injection vulnerability in Apache Software Foundation Apache Hive. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: org.apache.hive:hive-jdbc from 0.7.1 before 2.3.3 (GitHub advisory GHSA-jf2m-435m-mxw8). Fixed in 2.3.3 (GitHub advisory GHSA-jf2m-435m-mxw8). Severity: Critical (9.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:33 UTC.
What is CVE-2018-1282?
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.
From the CVE record by apache, last updated September 16, 2024, 23:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Hive | 0.7.1 to 2.3.2 |
As the CVE record by apache states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.hive:hive-jdbc | >= 0.7.1, < 2.3.3 | 2.3.3 | GHSA-jf2m-435m-mxw8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 19, 2024. Summary: SQL Injection in hive-jdbc.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | hive | from 0.7.1 through 2.3.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:50 UTC.
How severe is CVE-2018-1282?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-1282 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.48% probability of exploitation activity in the next 30 days, percentile 93.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- 103751 vdb-entry, x_refsource_BID
- [dev] 20180404 [SECURITY] CVE-2018-1282 JDBC driver is susceptible to SQL injection attack if the input parameters are not properly cleaned mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- December 7, 2017
- Published
- April 5, 2018, 13:00 UTC
- CVE record updated
- September 16, 2024, 23:51 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 01:50 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:33 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Hive?
- Aug 25, 2026CVE-2026-49845 Apache Software Foundation Apache Hive: code injection (remote code execution)
- Aug 25, 2026CVE-2026-55976 Apache Software Foundation Apache Hive: server-side request forgery (SSRF)
- Aug 25, 2026CVE-2026-53561 Apache Software Foundation Apache Hive: authentication bypass (improper authentication)
- Nov 26, 2025CVE-2025-62728 Apache Software Foundation Apache Hive: SQL injection
- Jan 28, 2025CVE-2024-29869 Apache Software Foundation Apache Hive: incorrect permissions on a critical resource
- Jan 28, 2025CVE-2024-23953 Apache Software Foundation Apache Hive: timing side channel
- Dec 23, 2024CVE-2024-23945 Apache Software Foundation Apache Hive: information disclosure in error messages
- Dec 5, 2024CVE-2022-41137 Apache Software Foundation Apache Hive: deserialization of untrusted data
Questions about CVE-2018-1282
Is CVE-2018-1282 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 5.48% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Hive are affected by CVE-2018-1282?
org.apache.hive:hive-jdbc from 0.7.1 before 2.3.3, per the GitHub advisory GHSA-jf2m-435m-mxw8. The tables above give every range the sources list.
Which version fixes CVE-2018-1282?
2.3.3, per the GitHub advisory GHSA-jf2m-435m-mxw8. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-1282?
Critical (9.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1282?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.