Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57779?format=api",
    "purl": "pkg:maven/org.apache.tomcat/tomcat@9.0.16",
    "type": "maven",
    "namespace": "org.apache.tomcat",
    "name": "tomcat",
    "version": "9.0.16",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.0.20",
    "latest_non_vulnerable_version": "11.0.18",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40903?format=api",
            "vulnerability_id": "VCID-1kgu-zupu-tydw",
            "summary": "Uncontrolled Resource Consumption\nThe HTTP/2 implementation in Apache Tomcat accepted streams with excessive numbers of `SETTINGS` frames and also permitted clients to keep streams open without reading/writing request/response data. By keeping streams open for requests that utilised the Servlet API's blocking I/O, clients were able to cause server-side threads to block eventually leading to thread exhaustion and a DoS.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-0199",
                    "reference_id": "CVE-2019-0199",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-0199"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57778?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@8.5.38",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9awt-9zjq-yucn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@8.5.38"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57779?format=api",
                    "purl": "pkg:maven/org.apache.tomcat/tomcat@9.0.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@9.0.16"
                }
            ],
            "aliases": [
                "CVE-2019-0199"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1kgu-zupu-tydw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.tomcat/tomcat@9.0.16"
}