CVE-2016-3083
org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation
Also known as GHSA-gf2v-9hp6-44qg
Published 9 y ago · modified 4 mo ago · JSON
Summary
Apache Hive (JDBC + HiveServer2) implements SSL for plain TCP and HTTP connections (it supports both transport modes). While validating the server's certificate during the connection setup, the client in Apache Hive before 1.2.2 and 2.0.x before 2.0.1 doesn't seem to be verifying the common name attribute of the certificate. In this way, if a JDBC client sends an SSL request to server abc.com, and the server responds with a valid certificate (certified by CA) but issued to xyz.com, the client will accept that as a valid certificate and the SSL handshake will go through.
Exploit prediction (EPSS)
1.01% probability of exploitation in the next 30 days, higher than 63% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.hive:hive | <1.2.2 >=2.0.0, <2.0.1 | 1.2.2 2.0.1 |
| maven | org.apache.hive:hive-service | <1.2.2 >=2.0.0, <2.0.1 | 1.2.2 2.0.1 |
| maven | org.apache.hive:hive-exec | <1.2.2 >=2.0.0, <2.0.1 | 1.2.2 2.0.1 |
Affected products
- Apache Software Foundation Apache Hive
Classification
- Weakness
- CWE-295 Improper Certificate Validation
References
- lists.apache.org /thread.html/0851bcf85635385f94cdaa008053802d92b4aab0a3075e30ed171192%40%3Cdev.hive.apache · mailing-list, x_refsource_MLIST, x_transferred
- securityfocus.com /bid/98669 · vdb-entry, x_refsource_BID, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-3083 · advisory
- github.com /advisories/GHSA-gf2v-9hp6-44qg · advisory
- lists.apache.org /thread.html/0851bcf85635385f94cdaa008053802d92b4aab0a3075e30ed171192@%3Cdev.hive.apache.o · web
Sources
- CVE List: CVE-2016-3083
- GitHub Advisory: GHSA-gf2v-9hp6-44qg
- NVD: CVE-2016-3083
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.