Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62995?format=api",
    "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.14",
    "type": "maven",
    "namespace": "org.apache.tomcat",
    "name": "tomcat",
    "version": "7.0.14",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7.0.19",
    "latest_non_vulnerable_version": "11.0.18",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43849?format=api",
            "vulnerability_id": "VCID-1e8h-uhj4-akhz",
            "summary": "Access restriction bypass in Apache Tomcat\nApache Tomcat 7.0.12 and 7.0.13 processes the first request to a servlet without following security constraints that have been configured through annotations, which allows remote attackers to bypass intended access restrictions via HTTP requests. NOTE: this vulnerability exists because of an incomplete fix for CVE-2011-1088, CVE-2011-1183, and CVE-2011-1419.",
            "references": [
                {
                    "reference_url": "http://mail-archives.apache.org/mod_mbox/www-announce/201105.mbox/%3C4DD26E30.2060103%40apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://mail-archives.apache.org/mod_mbox/www-announce/201105.mbox/%3C4DD26E30.2060103%40apache.org%3E"
                },
                {
                    "reference_url": "http://mail-archives.apache.org/mod_mbox/www-announce/201105.mbox/%3C4DD26E30.2060103@apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://mail-archives.apache.org/mod_mbox/www-announce/201105.mbox/%3C4DD26E30.2060103@apache.org%3E"
                },
                {
                    "reference_url": "http://securityreason.com/securityalert/8256",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://securityreason.com/securityalert/8256"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/67515",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/67515"
                },
                {
                    "reference_url": "http://svn.apache.org/viewvc?view=revision&revision=1100832",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://svn.apache.org/viewvc?view=revision&revision=1100832"
                },
                {
                    "reference_url": "http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.14_%28released_12_May_2011%29",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.14_%28released_12_May_2011%29"
                },
                {
                    "reference_url": "http://www.securityfocus.com/archive/1/518032/100/0/threaded",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/archive/1/518032/100/0/threaded"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/47886",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/47886"
                },
                {
                    "reference_url": "http://www.vupen.com/english/advisories/2011/1255",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.vupen.com/english/advisories/2011/1255"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1582",
                    "reference_id": "CVE-2011-1582",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1582"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3xpj-jgv5-q4vv",
                    "reference_id": "GHSA-3xpj-jgv5-q4vv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3xpj-jgv5-q4vv"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62995?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@7.0.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.14"
                }
            ],
            "aliases": [
                "CVE-2011-1582",
                "GHSA-3xpj-jgv5-q4vv"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1e8h-uhj4-akhz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@7.0.14"
}