Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/53634?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/53634?format=api", "purl": "pkg:maven/org.apache.hive/hive-jdbc@1.1.0", "type": "maven", "namespace": "org.apache.hive", "name": "hive-jdbc", "version": "1.1.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.2.2", "latest_non_vulnerable_version": "3.1.1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38637?format=api", "vulnerability_id": "VCID-me8z-qek2-wfgn", "summary": "Improper Certificate Validation\nApache 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 does not 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.", "references": [ { "reference_url": "https://lists.apache.org/thread.html/0851bcf85635385f94cdaa008053802d92b4aab0a3075e30ed171192@%3Cdev.hive.apache.org%3E", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.apache.org/thread.html/0851bcf85635385f94cdaa008053802d92b4aab0a3075e30ed171192@%3Cdev.hive.apache.org%3E" }, { "reference_url": "http://www.securityfocus.com/bid/98669", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securityfocus.com/bid/98669" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3083", "reference_id": "CVE-2016-3083", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3083" }, { "reference_url": "https://github.com/advisories/GHSA-gf2v-9hp6-44qg", "reference_id": "GHSA-gf2v-9hp6-44qg", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-gf2v-9hp6-44qg" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53638?format=api", "purl": "pkg:maven/org.apache.hive/hive-jdbc@1.2.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive-jdbc@1.2.2" } ], "aliases": [ "CVE-2016-3083", "GHSA-gf2v-9hp6-44qg" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-me8z-qek2-wfgn" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive-jdbc@1.1.0" }