Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57045?format=api",
    "purl": "pkg:maven/org.apache.hive/hive-jdbc@2.3.4",
    "type": "maven",
    "namespace": "org.apache.hive",
    "name": "hive-jdbc",
    "version": "2.3.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.1.1",
    "latest_non_vulnerable_version": "3.1.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40419?format=api",
            "vulnerability_id": "VCID-kp77-nwjw-rfgy",
            "summary": "Missing Authorization\nThe Hive `EXPLAIN` operation does not check for necessary authorization of involved entities in a query. An unauthorized user can do `EXPLAIN` on arbitrary table or view and expose table metadata and statistics.",
            "references": [
                {
                    "reference_url": "https://lists.apache.org/thread.html/3da47dbcbf09697387f29d2f1aed970523b6b334d93afd3cced23727@%3Cdev.hive.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/3da47dbcbf09697387f29d2f1aed970523b6b334d93afd3cced23727@%3Cdev.hive.apache.org%3E"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/105884",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/105884"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1314",
                    "reference_id": "CVE-2018-1314",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1314"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jmf4-pq78-f8vj",
                    "reference_id": "GHSA-jmf4-pq78-f8vj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jmf4-pq78-f8vj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57045?format=api",
                    "purl": "pkg:maven/org.apache.hive/hive-jdbc@2.3.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive-jdbc@2.3.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57046?format=api",
                    "purl": "pkg:maven/org.apache.hive/hive-jdbc@3.1.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive-jdbc@3.1.1"
                }
            ],
            "aliases": [
                "CVE-2018-1314",
                "GHSA-jmf4-pq78-f8vj"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kp77-nwjw-rfgy"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hive/hive-jdbc@2.3.4"
}