Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2250?format=api",
    "vulnerability_id": "VCID-7tk5-9u1x-nkbj",
    "summary": "Security researcher Mariusz Mlynski reported that the location property can be accessed by binary plugins through top.location with a frame whose name attribute's value is set to \"top\". This can allow for possible cross-site scripting (XSS) attacks through plugins. \nIn general these flaws cannot be exploited through email in the\nThunderbird and SeaMonkey products because scripting is disabled, but are\npotentially a risk in browser or browser-like contexts in those products.",
    "aliases": [
        {
            "alias": "CVE-2012-4209"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1050?format=api",
            "purl": "pkg:mozilla/Firefox@17.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@17.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/966?format=api",
            "purl": "pkg:mozilla/Firefox%20ESR@10.0.11",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox%2520ESR@10.0.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1053?format=api",
            "purl": "pkg:mozilla/SeaMonkey@2.14.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@2.14.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1051?format=api",
            "purl": "pkg:mozilla/Thunderbird@17.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Thunderbird@17.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1052?format=api",
            "purl": "pkg:mozilla/Thunderbird%20ESR@10.0.11",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Thunderbird%2520ESR@10.0.11"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4209",
            "reference_id": "CVE-2012-4209",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4209"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2012-103",
            "reference_id": "mfsa2012-103",
            "reference_type": "",
            "scores": [
                {
                    "value": "high",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2012-103"
        }
    ],
    "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-7tk5-9u1x-nkbj"
}