Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/2504?format=api",
    "vulnerability_id": "VCID-cux9-7xfe-hygq",
    "summary": "XULDocument.persist() did not validate the attribute name,\nallowing an attacker to inject XML into localstore.rdf that would\nbe read and acted upon at startup. This could include JavaScript\ncommands that would be run with the permissions of the browser.Thunderbird could be vulnerable if JavaScript is\nenabled. This is not the default setting and we strongly\ndiscourage users from turning on JavaScript in mail. Thunderbird\nis not vulnerable in its default configuration.Update (13 April 2006)\nThis flaw has been fixed in Thunderbird 1.5.0.2Updated versions of Firefox 1.0, Thunderbird 1.0, and the Mozilla Suite 1.7\nhave been released containing this fix.",
    "aliases": [
        {
            "alias": "CVE-2006-0296"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1102?format=api",
            "purl": "pkg:mozilla/Firefox@1.0.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Firefox@1.0.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1106?format=api",
            "purl": "pkg:mozilla/Mozilla%20Suite@1.7.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Mozilla%2520Suite@1.7.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1105?format=api",
            "purl": "pkg:mozilla/SeaMonkey@1.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/SeaMonkey@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1104?format=api",
            "purl": "pkg:mozilla/Thunderbird@1.0.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:mozilla/Thunderbird@1.0.8"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0296",
            "reference_id": "CVE-2006-0296",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0296"
        },
        {
            "reference_url": "https://www.mozilla.org/en-US/security/advisories/mfsa2006-05",
            "reference_id": "mfsa2006-05",
            "reference_type": "",
            "scores": [
                {
                    "value": "critical",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.mozilla.org/en-US/security/advisories/mfsa2006-05"
        }
    ],
    "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-cux9-7xfe-hygq"
}