Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51265?format=api",
    "purl": "pkg:gem/rack-cache@1.2",
    "type": "gem",
    "namespace": "",
    "name": "rack-cache",
    "version": "1.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37441?format=api",
            "vulnerability_id": "VCID-jck5-xzpg-s3au",
            "summary": "rack-cache: caches sensitive headers\nThe package rack-cache caches potentially sensitive response headers (such as `Set-Cookie`). Attackers with access to the cache could possibly obtain other user's cookies to e.g. bypass authentication.",
            "references": [
                {
                    "reference_url": "https://bugzilla.novell.com/show_bug.cgi?id=763650",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.novell.com/show_bug.cgi?id=763650"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51265?format=api",
                    "purl": "pkg:gem/rack-cache@1.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack-cache@1.2"
                }
            ],
            "aliases": [
                "CVE-2012-2671"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jck5-xzpg-s3au"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack-cache@1.2"
}