Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/54038?format=api",
    "purl": "pkg:maven/org.asynchttpclient/async-http-client@2.0.34",
    "type": "maven",
    "namespace": "org.asynchttpclient",
    "name": "async-http-client",
    "version": "2.0.34",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.4.1",
    "latest_non_vulnerable_version": "2.0.35",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38791?format=api",
            "vulnerability_id": "VCID-dp8j-y3uk-2qa5",
            "summary": "Improper Input Validation\nAsync Http Client can be tricked into connecting to a host different from the one extracted by `java.net.URI` if a `?` character occurs in a fragment identifier.",
            "references": [
                {
                    "reference_url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14063",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14063"
                },
                {
                    "reference_url": "http://openwall.com/lists/oss-security/2017/08/31/4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://openwall.com/lists/oss-security/2017/08/31/4"
                },
                {
                    "reference_url": "https://github.com/AsyncHttpClient/async-http-client/issues/1455",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/AsyncHttpClient/async-http-client/issues/1455"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-14063",
                    "reference_id": "CVE-2017-14063",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-14063"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54039?format=api",
                    "purl": "pkg:maven/org.asynchttpclient/async-http-client@2.0.35",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.asynchttpclient/async-http-client@2.0.35"
                }
            ],
            "aliases": [
                "CVE-2017-14063"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dp8j-y3uk-2qa5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.asynchttpclient/async-http-client@2.0.34"
}