Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52884?format=api",
    "purl": "pkg:maven/org.apache.shiro/shiro-all@1.3.1",
    "type": "maven",
    "namespace": "org.apache.shiro",
    "name": "shiro-all",
    "version": "1.3.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.3.2",
    "latest_non_vulnerable_version": "1.13.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38213?format=api",
            "vulnerability_id": "VCID-m5r5-93qx-6khh",
            "summary": "Filter Bypass\nThis package allows attackers to bypass intended servlet filters and gain access by leveraging use of a non-root servlet context path.",
            "references": [
                {
                    "reference_url": "https://github.com/apache/shiro/commit/b15ab927709ca18ea4a02538be01919a19ab65af",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/shiro/commit/b15ab927709ca18ea4a02538be01919a19ab65af"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/SHIRO-584",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/SHIRO-584"
                },
                {
                    "reference_url": "https://packetstormsecurity.com/files/138709/Apache-Shiro-Filter-Bypass.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://packetstormsecurity.com/files/138709/Apache-Shiro-Filter-Bypass.html"
                },
                {
                    "reference_url": "https://shiro.apache.org/news.html#1.3.2-released",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://shiro.apache.org/news.html#1.3.2-released"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6802",
                    "reference_id": "CVE-2016-6802",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6802"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-4q2v-j639-cp7p",
                    "reference_id": "GHSA-4q2v-j639-cp7p",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-4q2v-j639-cp7p"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52885?format=api",
                    "purl": "pkg:maven/org.apache.shiro/shiro-all@1.3.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-all@1.3.2"
                }
            ],
            "aliases": [
                "CVE-2016-6802",
                "GHSA-4q2v-j639-cp7p"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m5r5-93qx-6khh"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.shiro/shiro-all@1.3.1"
}