CRITICAL 9.1
CVE-2018-1282
SQL Injection in hive-jdbc
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.hive » hive-jdbc | >= 0.7.1, < 2.3.3 | 2.3.3 |
Blast radius
1affected artifacts
3,734affected versions
726dependent artifacts (est.)
48,651dependent versions
64% of the dependent artifacts (470) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 21,648 |
| 2 hops | 14,465 |
| 3 hops | 5,233 |
| 4 hops | 6,167 |
| 5 hops | 1,093 |
| 6 hops | 45 |
Most used dependents
- org.apache.oozie » oozie-core123 usages
- org.apache.dolphinscheduler » dolphinscheduler-common100 usages
- co.cask.cdap » cdap-unit-test59 usages
- org.apache.spark » spark-hive-thriftserver52 usages
- org.apache.hudi » hudi-client-common49 usages
- io.cdap.cdap » hydrator-test48 usages
- org.apache.hudi » hudi-spark-client33 usages
- org.apache.hudi » hudi-hive-sync32 usages
- org.apache.hudi » hudi-spark-common29 usages
- co.cask.cdap » hydrator-test28 usages
- io.cdap.cdap » cdap-unit-test28 usages
- org.apache.hudi » hudi-hadoop-mr26 usages
- com.facebook.presto » presto-hive22 usages
- org.apache.sentry » sentry-provider-db20 usages
- com.hotels » circus-train-api20 usages
Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-1282 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-jf2m-435m-mxw8 | github.com |
| Package | apache/hive | github.com |
| Web | thread.html/74bd2bff1827febb348dfb323986fa340d3bb97a315ab93c3ccc8299@<dev.hive.apache.org> | lists.apache.org |
| Web | web/20200227125536/http:/www.securityfocus.com/bid/103751 | web.archive.org |
