Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51665?format=api",
    "purl": "pkg:gem/rails@4.0.2",
    "type": "gem",
    "namespace": "",
    "name": "rails",
    "version": "4.0.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.0.3",
    "latest_non_vulnerable_version": "7.1.3.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37599?format=api",
            "vulnerability_id": "VCID-gadc-jens-nuga",
            "summary": "Denial of Service Vulnerability in Action View\nThere is a denial of service vulnerability in the header handling component of Action View. Strings sent in specially crafted headers will be cached indefinitely. This can cause the cache to grow infinitely, which will eventually consume all memory on the target machine, causing a denial of service.",
            "references": [
                {
                    "reference_url": "http://seclists.org/oss-sec/2013/q4/400",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2013/q4/400"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-6414",
                    "reference_id": "CVE-2013-6414",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-6414"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51664?format=api",
                    "purl": "pkg:gem/rails@3.2.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@3.2.16"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51665?format=api",
                    "purl": "pkg:gem/rails@4.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.0.2"
                }
            ],
            "aliases": [
                "CVE-2013-6414"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gadc-jens-nuga"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.0.2"
}