Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/1953?format=api",
    "vulnerability_id": "VCID-hjwt-29a4-9ygs",
    "summary": "Security researcher Armin Ebert reported that the\nlocation.host property can be set to an arbitrary string after creating an\ninvalid data: URI. This allows for a bypass of some same-origin policy\nprotections. This issue is mitigated by the data: URI in use and any\nsame-origin checks for http: or https: are still enforced\ncorrectly. As a result cookie stealing and other common same-origin bypass attacks are not\npossible.",
    "aliases": [
        {
            "alias": "CVE-2016-2825"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/903?format=api",
            "purl": "pkg:mozilla/Firefox@47.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@47.0.0"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2825",
            "reference_id": "CVE-2016-2825",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2825"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2016-54",
            "reference_id": "mfsa2016-54",
            "reference_type": "",
            "scores": [
                {
                    "value": "low",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2016-54"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "0.1 - 3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hjwt-29a4-9ygs"
}