Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/251?format=api",
    "vulnerability_id": "VCID-gdk2-pfdu-h3ft",
    "summary": "A content security policy (CSP) containing a referrer directive with no values can cause a non-exploitable crash.",
    "aliases": [
        {
            "alias": "CVE-2016-2827"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/378?format=api",
            "purl": "pkg:mozilla/Firefox@49.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@49.0.0"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2016-85",
            "reference_id": "mfsa2016-85",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2016-85"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gdk2-pfdu-h3ft"
}