Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2346?format=api",
    "vulnerability_id": "VCID-s2bx-814a-fkbw",
    "summary": "Mozilla developers Andrew McCreight and Olli Pettay found that ReadPrototypeBindings will leave a XBL binding in a hash table even when the function fails. If this occurs, when the cycle collector reads this hash table and attempts to do a virtual method on this binding a crash will occur. This crash may be potentially exploitable. \nFirefox 9 and earlier are not affected by this vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2012-0452"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1070?format=api",
            "purl": "pkg:mozilla/Firefox@10.0.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@10.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1071?format=api",
            "purl": "pkg:mozilla/Firefox%20ESR@10.0.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox%2520ESR@10.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1074?format=api",
            "purl": "pkg:mozilla/SeaMonkey@2.7.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@2.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1072?format=api",
            "purl": "pkg:mozilla/Thunderbird@10.0.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Thunderbird@10.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1073?format=api",
            "purl": "pkg:mozilla/Thunderbird%20ESR@10.0.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Thunderbird%2520ESR@10.0.1"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0452",
            "reference_id": "CVE-2012-0452",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0452"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2012-10",
            "reference_id": "mfsa2012-10",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2012-10"
        }
    ],
    "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-s2bx-814a-fkbw"
}