Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2864?format=api",
    "vulnerability_id": "VCID-7rwb-wtw8-wqhz",
    "summary": "Independent security researcher Kuza55 and\nMicrosoft security researcher Tom Gallagher reported\nthat when plugin-initiated requests receive a 307 redirect response,\nthe plugin is not notified and the request is forwarded to the new\nlocation.  This is true even for cross-site redirects, so any custom\nheaders that were added as part of the initial request would be\nforwarded intact across origins.  This poses a CSRF risk for web\napplications that rely on custom headers only being present in\nrequests from their own origin.",
    "aliases": [
        {
            "alias": "CVE-2011-0059"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1008?format=api",
            "purl": "pkg:mozilla/Firefox@3.5.17",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@3.5.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1198?format=api",
            "purl": "pkg:mozilla/Firefox@3.6.14",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@3.6.14"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1200?format=api",
            "purl": "pkg:mozilla/SeaMonkey@2.0.12",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@2.0.12"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0059",
            "reference_id": "CVE-2011-0059",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0059"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2011-10",
            "reference_id": "mfsa2011-10",
            "reference_type": "",
            "scores": [
                {
                    "value": "high",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2011-10"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7rwb-wtw8-wqhz"
}