Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37810?format=api",
    "vulnerability_id": "VCID-8mhb-q437-dfau",
    "summary": "Instance Directory Creation Symlink Arbitrary File Overwrite\nPassenger Gem for Ruby contains a flaw as the program creates the server instance directory insecurely. It is possible for a local attacker to use a symlink attack against the directory to cause the program to unexpectedly overwrite an arbitrary file.",
    "aliases": [
        {
            "alias": "CVE-2014-1831"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52177?format=api",
            "purl": "pkg:gem/passenger@4.0.33",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/passenger@4.0.33"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51696?format=api",
            "purl": "pkg:gem/passenger@4.0.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8mhb-q437-dfau"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/passenger@4.0.5"
        }
    ],
    "references": [
        {
            "reference_url": "http://osvdb.org/show/osvdb/102613",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://osvdb.org/show/osvdb/102613"
        }
    ],
    "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-8mhb-q437-dfau"
}