Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61636?format=api",
    "purl": "pkg:maven/org.apache.tomcat/tomcat@4.0b7",
    "type": "maven",
    "namespace": "org.apache.tomcat",
    "name": "tomcat",
    "version": "4.0b7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.0.2",
    "latest_non_vulnerable_version": "11.0.18",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43068?format=api",
            "vulnerability_id": "VCID-gxnk-sfnf-z3f9",
            "summary": "Apache Tomcat may be started without proper security settings if errors are encountered while reading the web.xml file, which could allow attackers to bypass intended restrictions.",
            "references": [
                {
                    "reference_url": "http://marc.info/?l=bugtraq&m=101709002410365&w=2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://marc.info/?l=bugtraq&m=101709002410365&w=2"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E"
                },
                {
                    "reference_url": "https://web.archive.org/web/20020903071650/http://www.iss.net/security_center/static/9863.php",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20020903071650/http://www.iss.net/security_center/static/9863.php"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2002-0493",
                    "reference_id": "CVE-2002-0493",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2002-0493"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-p543-jg43-9pm5",
                    "reference_id": "GHSA-p543-jg43-9pm5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-p543-jg43-9pm5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61636?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@4.0b7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@4.0b7"
                }
            ],
            "aliases": [
                "CVE-2002-0493",
                "GHSA-p543-jg43-9pm5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gxnk-sfnf-z3f9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@4.0b7"
}