CVE-2018-1282 json
SQL Injection in hive-jdbc
published 8y ago modified 4mo ago also GHSA-jf2m-435m-mxw8 , EUVD-2018-0758
- cvss
- 9.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.5%
- EPSS 5.5% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.hive:hive-jdbc 2.3.3
Is CVE-2018-1282 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1282 updated cvss 8.1
hive: Improper input validation in jdbc/HivePreparedStatement.java allows for SQL injection
-
Red Hat JBoss Fuse Integration Service 2 hivenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.48% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.hive:hive-jdbc | >=0.7.1, <2.3.3 |
2.3.3 |
Affected products
- Apache Software Foundation Apache Hive
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
securityfocus.com
/bid/103751
vdb-entry, third-party-advisory
-
lists.apache.org
/thread.html/74bd2bff1827febb348dfb323986fa340d3bb97a315ab93c3ccc8299%40%3Cdev.hive.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-1282
advisory
-
github.com
/advisories/GHSA-jf2m-435m-mxw8
advisory
-
github.com
/apache/hive
package
-
lists.apache.org
/thread.html/74bd2bff1827febb348dfb323986fa340d3bb97a315ab93c3ccc8299@%3Cdev.hive.apache.org%3E
web
-
web.archive.org
/web/20200227125536/http://www.securityfocus.com/bid/103751
web
-
exchange.xforce.ibmcloud.com
/vulnerabilities/141253
third-party-advisory
Sources
- CVE List CVE-2018-1282
- GitHub Advisory GHSA-jf2m-435m-mxw8
- NVD CVE-2018-1282
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.