Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/1933?format=api",
    "vulnerability_id": "VCID-1wf3-wwmp-bbem",
    "summary": "Security researcher Muneaki Nishimura (nishimunea) of Recruit\nTechnologies Co., Ltd. reported that Content Security Policy (CSP) is not applied\ncorrectly to web content sent with the multipart/x-mixed-replace MIME type.\nThis allows for script to run in instances where CSP should block it, leading to a failure\nto prevent potential cross-site scripting (XSS) and other attacks against the web page.",
    "aliases": [
        {
            "alias": "CVE-2016-2816"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/892?format=api",
            "purl": "pkg:mozilla/Firefox@46.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@46.0.0"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2816",
            "reference_id": "CVE-2016-2816",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2816"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2016-45",
            "reference_id": "mfsa2016-45",
            "reference_type": "",
            "scores": [
                {
                    "value": "none",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2016-45"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1wf3-wwmp-bbem"
}