Lookup for vulnerable packages by Package URL.

GET /api/packages/53642?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/53642?format=api",
    "purl": "pkg:maven/org.apache.hive/hive@1.0.0",
    "type": "maven",
    "namespace": "org.apache.hive",
    "name": "hive",
    "version": "1.0.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/40816?format=api",
            "vulnerability_id": "VCID-6ppt-m2fe-1uge",
            "summary": "Improper Authentication\nThe LDAP implementation in HiveServer2 in Apache Hive before 1.0.1 and 1.1.x before 1.1.1, as used in IBM InfoSphere BigInsights 3.0, 3.0.0.1, and 3.0.0.2 and other products, mishandles simple unauthenticated and anonymous bind configurations, which allows remote attackers to bypass authentication via a crafted LDAP request.",
            "references": [
                {
                    "reference_url": "http://mail-archives.apache.org/mod_mbox/www-announce/201505.mbox/%3CCAOpgucy52yzNN1FaRcxwhZmx8ZtNRjmK6V0Bxk4svAD-R1q70Q@mail.gmail.com%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://mail-archives.apache.org/mod_mbox/www-announce/201505.mbox/%3CCAOpgucy52yzNN1FaRcxwhZmx8ZtNRjmK6V0Bxk4svAD-R1q70Q@mail.gmail.com%3E"
                },
                {
                    "reference_url": "https://www.cloudera.com/documentation/other/security-bulletins/topics/csb_topic_1.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.cloudera.com/documentation/other/security-bulletins/topics/csb_topic_1.html"
                },
                {
                    "reference_url": "http://www-01.ibm.com/support/docview.wss?uid=swg21969546",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www-01.ibm.com/support/docview.wss?uid=swg21969546"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1034365",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1034365"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1772",
                    "reference_id": "CVE-2015-1772",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1772"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5gvm-hrw5-h6xf",
                    "reference_id": "GHSA-5gvm-hrw5-h6xf",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5gvm-hrw5-h6xf"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53643?format=api",
                    "purl": "pkg:maven/org.apache.hive/hive@1.0.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-me8z-qek2-wfgn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@1.0.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53645?format=api",
                    "purl": "pkg:maven/org.apache.hive/hive@1.1.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-me8z-qek2-wfgn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@1.1.1"
                }
            ],
            "aliases": [
                "CVE-2015-1772",
                "GHSA-5gvm-hrw5-h6xf"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6ppt-m2fe-1uge"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40463?format=api",
            "vulnerability_id": "VCID-e3vr-tx7y-xbg9",
            "summary": "Improper Authentication\nThe authorization framework in Apache Hive 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0 and 1.2.1, on clusters protected by Ranger and SqlStdHiveAuthorization, allows attackers to bypass intended parent table access restrictions via unspecified partition-level operations.",
            "references": [
                {
                    "reference_url": "http://mail-archives.apache.org/mod_mbox/hive-user/201601.mbox/%3C20160128205008.2154F185EB%40minotaur.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://mail-archives.apache.org/mod_mbox/hive-user/201601.mbox/%3C20160128205008.2154F185EB%40minotaur.apache.org%3E"
                },
                {
                    "reference_url": "http://packetstormsecurity.com/files/135836/Apache-Hive-Authorization-Bypass.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/135836/Apache-Hive-Authorization-Bypass.html"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2016/01/28/12",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2016/01/28/12"
                },
                {
                    "reference_url": "http://www.securityfocus.com/archive/1/537549/100/0/threaded",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/archive/1/537549/100/0/threaded"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-7521",
                    "reference_id": "CVE-2015-7521",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-7521"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-83r3-c79w-f6wc",
                    "reference_id": "GHSA-83r3-c79w-f6wc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-83r3-c79w-f6wc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53648?format=api",
                    "purl": "pkg:maven/org.apache.hive/hive@1.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@1.2.2"
                }
            ],
            "aliases": [
                "CVE-2015-7521",
                "GHSA-83r3-c79w-f6wc"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-e3vr-tx7y-xbg9"
        },
        {
            "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/53648?format=api",
                    "purl": "pkg:maven/org.apache.hive/hive@1.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive@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@1.0.0"
}