Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2896?format=api",
    "vulnerability_id": "VCID-akcd-7vmy-2ubj",
    "summary": "Security researcher Zach Hoffman reported that a\nrecursive call to eval() wrapped in\na try/catch statement places the browser into a\ninconsistent state.  Any dialog box opened in this state is displayed\nwithout text and with non-functioning buttons.  Closing the window\ncauses the dialog to evaluate to true.  An attacker could use this\nissue to force a user into accepting any dialog, such as one granting\nelevated privileges to the page presenting the dialog.",
    "aliases": [
        {
            "alias": "CVE-2011-0051"
        }
    ],
    "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-0051",
            "reference_id": "CVE-2011-0051",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0051"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2011-02",
            "reference_id": "mfsa2011-02",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2011-02"
        }
    ],
    "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-akcd-7vmy-2ubj"
}