Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3109?format=api",
    "vulnerability_id": "VCID-hbzv-jkrg-nudr",
    "summary": "moz_bug_r_a4 reports that the fix for\n\nMFSA 2006-72 in Firefox 1.5.0.9 and Firefox 2.0.0.1\nintroduced a regression that allows scripts from web content\nto execute arbitrary code by setting the src\nattribute of an IMG tag to a specially crafted\njavascript: URI.The same regression also caused javascript: URIs in\nIMG tags to be executed even if JavaScript\nexecution was disabled in the global preferences. This facet was\nnoted by moz_bug_r_a4 and reported independently by\nAnbo Motohiko.Thunderbird is not affected by this flaw as it will not execute\njavascript: URIs in IMG tags.",
    "aliases": [
        {
            "alias": "CVE-2007-0994"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1265?format=api",
            "purl": "pkg:mozilla/SeaMonkey@1.0.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@1.0.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1266?format=api",
            "purl": "pkg:mozilla/SeaMonkey@1.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@1.1.1"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0994",
            "reference_id": "CVE-2007-0994",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0994"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2007-09",
            "reference_id": "mfsa2007-09",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2007-09"
        }
    ],
    "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-hbzv-jkrg-nudr"
}