Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56690?format=api",
    "purl": "pkg:maven/org.apache.ranger/ranger-plugins-common@0.6.3",
    "type": "maven",
    "namespace": "org.apache.ranger",
    "name": "ranger-plugins-common",
    "version": "0.6.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.6.3",
    "latest_non_vulnerable_version": "2.8.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40307?format=api",
            "vulnerability_id": "VCID-sqr2-2rma-k7f3",
            "summary": "Untrusted Search Path\nApache Ranger before 0.6.3 policy engine incorrectly matches paths in certain conditions when policy does not contain wildcards and has recursion flag set to true.",
            "references": [
                {
                    "reference_url": "https://cwiki.apache.org/confluence/display/RANGER/Vulnerabilities+found+in+Ranger",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cwiki.apache.org/confluence/display/RANGER/Vulnerabilities+found+in+Ranger"
                },
                {
                    "reference_url": "https://github.com/apache/ranger/commit/2fcd7f7cc175c0734443638b99c359e24c0f88ff",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/ranger/commit/2fcd7f7cc175c0734443638b99c359e24c0f88ff"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/95998",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/95998"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-8746",
                    "reference_id": "CVE-2016-8746",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-8746"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xv7x-x6wr-xx7g",
                    "reference_id": "GHSA-xv7x-x6wr-xx7g",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xv7x-x6wr-xx7g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56690?format=api",
                    "purl": "pkg:maven/org.apache.ranger/ranger-plugins-common@0.6.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.ranger/ranger-plugins-common@0.6.3"
                }
            ],
            "aliases": [
                "CVE-2016-8746",
                "GHSA-xv7x-x6wr-xx7g"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sqr2-2rma-k7f3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.ranger/ranger-plugins-common@0.6.3"
}