Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38575?format=api",
    "vulnerability_id": "VCID-1819-qjsq-cuh7",
    "summary": "Directory Traversal\ngomeplus-h5-proxy is vulnerable to a directory traversal issue, allowing attackers to access any file in the system by placing '../' in the URL.",
    "aliases": [
        {
            "alias": "GMS-2017-130"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53531?format=api",
            "purl": "pkg:npm/gomeplus-h5-proxy@0.0.0-alpha",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1819-qjsq-cuh7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/gomeplus-h5-proxy@0.0.0-alpha"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/gomeplus-h5-proxy",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/gomeplus-h5-proxy"
        }
    ],
    "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-1819-qjsq-cuh7"
}