{"answers":{"affected":"12 open source packages ship an affected version, including org.apache.hive:hive, org.apache.hive:hive-exec and org.apache.hive:hive-service. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-3083 in the wild and no public exploit code.","fix":"Upgrade org.apache.hive:hive to a fixed version for your release line: 1.2.2 or 2.0.1.","what":"CVE-2016-3083 is a high-severity vulnerability in Apache Hive, published on 30 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-3083 and fix it if it is affected.\n\nWhat it is: CVE-2016-3083 is a high-severity vulnerability in Apache Hive, published on 30 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-3083 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.hive:hive (Maven): affected all versions; fixed in 1.2.2\n- org.apache.hive:hive (Maven): affected all versions; fixed in 1.2.2\n- org.apache.hive:hive (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.apache.hive:hive (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.apache.hive:hive-exec (Maven): affected all versions; fixed in 1.2.2\n- org.apache.hive:hive-exec (Maven): affected all versions; fixed in 1.2.2\n- org.apache.hive:hive-exec (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.apache.hive:hive-exec (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.apache.hive:hive-service (Maven): affected all versions; fixed in 1.2.2\n- org.apache.hive:hive-service (Maven): affected all versions; fixed in 1.2.2\n- org.apache.hive:hive-service (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.apache.hive:hive-service (Maven): affected from 2.0.0; fixed in 2.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-3083/ (Markdown: https://insights.sbomify.com/CVE-2016-3083/index.md)","id":"CVE-2016-3083","markdown":"https://insights.sbomify.com/CVE-2016-3083/index.md","name":"CVE-2016-3083","record":{"aliases":["GHSA-gf2v-9hp6-44qg"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Hive","requires_auth":"none","summary":"Apache Hive JDBC clients fail to verify certificate common names, allowing man-in-the-middle attacks when SSL is enabled.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"hive","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service vulnerable to Improper Certificate Validation","id":"CVE-2016-3083","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2016"},"n_packages":12,"n_references":2,"next":{"headline":"Cloud Foundry UAA reset password vulnerable to brute force attack","id":"CVE-2016-3084"},"packages":[{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.hive:hive","purl":null,"source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.hive:hive","purl":"pkg:maven/org.apache.hive/hive","source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.hive:hive","purl":null,"source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.hive:hive","purl":"pkg:maven/org.apache.hive/hive","source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.hive:hive-exec","purl":null,"source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.hive:hive-exec","purl":"pkg:maven/org.apache.hive/hive-exec","source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.hive:hive-exec","purl":null,"source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.hive:hive-exec","purl":"pkg:maven/org.apache.hive/hive-exec","source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.hive:hive-service","purl":null,"source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.hive:hive-service","purl":"pkg:maven/org.apache.hive/hive-service","source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.hive:hive-service","purl":null,"source":"GHSA-gf2v-9hp6-44qg"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.hive:hive-service","purl":"pkg:maven/org.apache.hive/hive-service","source":"GHSA-gf2v-9hp6-44qg"}],"prev":{"headline":"Remote Code Execution in Apache Struts","id":"CVE-2016-3082"},"products":["Apache Hive"],"published":"2017-05-30","related":[{"cvss_score":9.8,"headline":"Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths","id":"CVE-2026-49845","kev_date_added":null,"published":"2026-08-25"},{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in Jodd","id":"CVE-2018-21234","kev_date_added":null,"published":"2020-05-21"},{"cvss_score":9.1,"headline":"Apache Hive: SSRF vulnerability in Hive Avro Serde due to Insufficient input validation on avro.schema.url","id":"CVE-2026-55976","kev_date_added":null,"published":"2026-08-25"},{"cvss_score":9.1,"headline":"SQL Injection in hive-jdbc","id":"CVE-2018-1282","kev_date_added":null,"published":"2018-04-05"},{"cvss_score":8.3,"headline":"Apache Hive: Deserialization of untrusted data when fetching partitions from the Metastore","id":"CVE-2022-41137","kev_date_added":null,"published":"2024-12-05"},{"cvss_score":8.3,"headline":"High severity vulnerability that affects org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service","id":"CVE-2015-7521","kev_date_added":null,"published":"2016-01-29"},{"cvss_score":8.1,"headline":"Improper Authentication in hive:hive-exec","id":"CVE-2018-11777","kev_date_added":null,"published":"2018-11-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Apache Software Foundation"]},"summary":"Apache Hive JDBC clients fail to verify certificate common names, allowing man-in-the-middle attacks when SSL is enabled.","url":"https://insights.sbomify.com/CVE-2016-3083/"}