Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40613?format=api",
    "vulnerability_id": "VCID-14v3-bjew-3qby",
    "summary": "Externally Controlled Reference to a Resource in Another Sphere\nShopware has a PHP Object Instantiation issue via the `sort` parameter to the `loadPreviewAction()` method of the `Shopware_Controllers_Backend_ProductStream` controller, with resultant XXE via instantiation of a `SimpleXMLElement` object.",
    "aliases": [
        {
            "alias": "CVE-2017-18357"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54453?format=api",
            "purl": "pkg:composer/shopware/shopware@5.3.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/shopware/shopware@5.3.4"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-18357",
            "reference_id": "CVE-2017-18357",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-18357"
        }
    ],
    "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": 610,
            "name": "Externally Controlled Reference to a Resource in Another Sphere",
            "description": "The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere."
        },
        {
            "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-14v3-bjew-3qby"
}