Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2371?format=api",
    "vulnerability_id": "VCID-c4yz-p288-hkgn",
    "summary": "Security researcher Adam Barth found that inline event handlers, such as onclick, were no longer blocked by Content Security\nPolicy's (CSP) inline-script blocking feature. Web applications relying on this feature of CSP to protect against cross-site scripting (XSS) were not fully protected.",
    "aliases": [
        {
            "alias": "CVE-2012-1944"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1045?format=api",
            "purl": "pkg:mozilla/Firefox@13.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@13.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1046?format=api",
            "purl": "pkg:mozilla/Firefox%20ESR@10.0.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox%2520ESR@10.0.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1049?format=api",
            "purl": "pkg:mozilla/SeaMonkey@2.10.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@2.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1047?format=api",
            "purl": "pkg:mozilla/Thunderbird@13.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Thunderbird@13.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1048?format=api",
            "purl": "pkg:mozilla/Thunderbird%20ESR@10.0.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Thunderbird%2520ESR@10.0.5"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1944",
            "reference_id": "CVE-2012-1944",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1944"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2012-36",
            "reference_id": "mfsa2012-36",
            "reference_type": "",
            "scores": [
                {
                    "value": "high",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2012-36"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c4yz-p288-hkgn"
}