Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52335?format=api",
    "purl": "pkg:gem/rack@1.6.2",
    "type": "gem",
    "namespace": "",
    "name": "rack",
    "version": "1.6.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.6.11",
    "latest_non_vulnerable_version": "3.2.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37887?format=api",
            "vulnerability_id": "VCID-2bvt-36z3-9qar",
            "summary": "Potential Denial of Service Vulnerability\nCarefully crafted requests can cause a `SystemStackError` and potentially cause a denial of service attack.",
            "references": [
                {
                    "reference_url": "https://github.com/rack/rack/commits/1.4.6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/commits/1.4.6"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!topic/ruby-security-ann/gcUbICUmKMc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#!topic/ruby-security-ann/gcUbICUmKMc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52333?format=api",
                    "purl": "pkg:gem/rack@1.4.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.4.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52334?format=api",
                    "purl": "pkg:gem/rack@1.5.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.5.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52335?format=api",
                    "purl": "pkg:gem/rack@1.6.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.6.2"
                }
            ],
            "aliases": [
                "CVE-2015-3225"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2bvt-36z3-9qar"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@1.6.2"
}