Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38565?format=api",
    "vulnerability_id": "VCID-1516-u2m9-8bdu",
    "summary": "Directory Traversal Vulnerability\npooledwebsocket is vulnerable to Directory Traversal, which may allow access to files and data stored on the server.",
    "aliases": [
        {
            "alias": "GMS-2017-129"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53516?format=api",
            "purl": "pkg:npm/pooledwebsocket@0.0.19",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/pooledwebsocket@0.0.19"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/Eeems/PooledWebSocket/commit/7b3b4e5c6be6d8a964296fa3c50e38dc07e9701d",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/Eeems/PooledWebSocket/commit/7b3b4e5c6be6d8a964296fa3c50e38dc07e9701d"
        }
    ],
    "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-1516-u2m9-8bdu"
}