Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2455?format=api",
    "vulnerability_id": "VCID-nd9m-nqub-27a3",
    "summary": "Mozilla contributors moz_bug_r_a4 and\nBoris Zbarsky submitted a series of vulnerabilities\nwhich allow scripts from page content to escape from its sandboxed\ncontext and/or run with chrome privileges. An additional vulnerability\nreported by moz_bug_r_a4 demonstrated that the XMLDocument.load()\nfunction can be used to inject script into another site, violating the\nbrowser's same-origin policy.",
    "aliases": [
        {
            "alias": "CVE-2008-0415"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1086?format=api",
            "purl": "pkg:mozilla/SeaMonkey@1.1.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@1.1.8"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0415",
            "reference_id": "CVE-2008-0415",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0415"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2008-03",
            "reference_id": "mfsa2008-03",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2008-03"
        }
    ],
    "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-nd9m-nqub-27a3"
}