CVE-2018-1282
hive: Improper input validation in jdbc/HivePreparedStatement.java allows for SQL injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.hive:hive-jdbc | 2.3.3 |
References
- http://www.securityfocus.com/bid/103751
- https://access.redhat.com/security/cve/CVE-2018-1282
- https://exchange.xforce.ibmcloud.com/vulnerabilities/141253
- https://github.com/advisories/GHSA-jf2m-435m-mxw8
- https://github.com/apache/hive
- https://lists.apache.org/thread.html/74bd2bff1827febb348dfb323986fa340d3bb97a315ab93c3ccc8299@%3Cdev.hive.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1282
- https://web.archive.org/web/20200227125536/http://www.securityfocus.com/bid/103751