Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37588?format=api",
    "vulnerability_id": "VCID-nvdw-ajxm-eub4",
    "summary": "XML External Entity (XXE) injection\nThis package allows remote attackers to affect confidentiality via unknown vectors related to Java Server Faces or Web Container.",
    "aliases": [
        {
            "alias": "CVE-2013-3827"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51640?format=api",
            "purl": "pkg:maven/com.sun.faces/jsf-impl@2.1.19",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sun.faces/jsf-impl@2.1.19"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51638?format=api",
            "purl": "pkg:maven/com.sun.faces/jsf-impl@2-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5xv3-mdjm-g3f8"
                },
                {
                    "vulnerability": "VCID-nvdw-ajxm-eub4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sun.faces/jsf-impl@2-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51639?format=api",
            "purl": "pkg:maven/com.sun.faces/jsf-impl@2.1.18",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nvdw-ajxm-eub4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sun.faces/jsf-impl@2.1.18"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-3827",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-3827"
        }
    ],
    "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-nvdw-ajxm-eub4"
}