# CVE-2018-1282: SQL Injection in hive-jdbc

Source: https://junglewise.ai/threats/cve-2018-1282-sql-injection-in-hive-jdbc  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-11-21  
License: CC BY 4.0 with a link back

CVE-2018-1282 · Severity: low · CVSS 3 · Published 2018-11-21

SQL Injection in hive-jdbc

Technologies: [org.apache.hive:hive-jdbc (Maven)](https://junglewise.ai/threats/technologies/org-apache-hive-hive-jdbc). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-1282 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-1282 being exploited in the wild.

**How severe is CVE-2018-1282?** Low severity, with a CVSS score of 3, published 21 November 2018.

**Which products and versions are affected?** org.apache.hive:hive-jdbc (Maven) ECOSYSTEM:introduced=0.7.1,fixed=2.3.3.

**Is there a fix for CVE-2018-1282?** Yes. org.apache.hive:hive-jdbc (Maven): upgrade to 2.3.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-1282?** Check whether you run org.apache.hive:hive-jdbc (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.hive:hive-jdbc (Maven): upgrade to 2.3.3 or later

  ```sh
  # set org.apache.hive:hive-jdbc to 2.3.3 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.hive:hive-jdbc (Maven) ECOSYSTEM:introduced=0.7.1,fixed=2.3.3

## Identifiers

- CVE-2018-1282
- GHSA-jf2m-435m-mxw8

## Related threats

- [Apache Hive Code Injection vulnerability](https://junglewise.ai/threats/cve-2023-35701-apache-hive-code-injection-vulnerability)
- [Moderate severity vulnerability that affects org.apache.hive:hive-jdbc](https://junglewise.ai/threats/cve-2018-1314-moderate-severity-vulnerability-that-affects-org-apache-hive-hive)
