Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2521?format=api",
    "vulnerability_id": "VCID-gkek-gx5h-jya7",
    "summary": "Web content could access the nsISelectionPrivate interface of the Selection\nobject and use it to add a SelectionListener. The listener would be called when\nthe user did a \"Find\" on the page or a \"select all\", and as intended this\nshouldn't cause any problems. But as with escaping the PAC sandbox\nin MFSA 2006-31 and content-defined DOM setters in\nMFSA 2006-37 moz_bug_r_a4 figured a way to\nleverage the fact that the notifications were created in a privileged context\ninto arbitrary code execution.",
    "aliases": [
        {
            "alias": "CVE-2006-2777"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1100?format=api",
            "purl": "pkg:mozilla/SeaMonkey@1.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@1.0.2"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2777",
            "reference_id": "CVE-2006-2777",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2777"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2006-43",
            "reference_id": "mfsa2006-43",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2006-43"
        }
    ],
    "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-gkek-gx5h-jya7"
}