Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37440?format=api",
    "vulnerability_id": "VCID-h3mg-kqm2-ffcx",
    "summary": "Excessive Iteration\nXerces allows remote attackers to affect availability.",
    "aliases": [
        {
            "alias": "CVE-2012-1724"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51263?format=api",
            "purl": "pkg:maven/xerces/xercesImpl@2.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/xerces/xercesImpl@2.4.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51262?format=api",
            "purl": "pkg:maven/xerces/xercesImpl@2.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-h3mg-kqm2-ffcx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/xerces/xercesImpl@2.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://svn.apache.org/viewvc?view=revision&revision=319059",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://svn.apache.org/viewvc?view=revision&revision=319059"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/CVE-2012-1724",
            "reference_id": "CVE-2012-1724",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/CVE-2012-1724"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h3mg-kqm2-ffcx"
}