CVE-2018-1282
CRITICAL 9.1CVSS 3.0SQL Injection in hive-jdbc
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.
- Published
- 5 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-jf2m-435m-mxw8
- Sources
- NVDJSONOSV GHSA-jf2m-435m-mxw8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | hivecpe:2.3:a:apache:hive:*:*:*:*:*:*:*:* |
>= 0.7.1, <= 2.3.2 | |
| OSV | Maven | org.apache.hive:hive-jdbc | >= 0.7.1, < 2.3.3 | 2.3.3 |
References
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2018-1282 · ADVISORY
- 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
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 5 Apr 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2018)