Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30601?format=api",
    "vulnerability_id": "VCID-tjj3-565d-4yab",
    "summary": "Information Exposure Through Directory Listing\n[serve] Directory listing and File access even when they have been set to be ignored (using dot-slash)",
    "aliases": [
        {
            "alias": "CVE-2019-5415"
        },
        {
            "alias": "GHSA-v588-qcp3-jv46"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6662?format=api",
            "purl": "pkg:npm/serve@7.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/serve@7.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6661?format=api",
            "purl": "pkg:npm/serve@6.5.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kfkt-8j73-6ka6"
                },
                {
                    "vulnerability": "VCID-tjj3-565d-4yab"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/serve@6.5.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://hackerone.com/reports/330724",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://hackerone.com/reports/330724"
        },
        {
            "reference_url": "https://www.npmjs.com/advisories/1010",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.npmjs.com/advisories/1010"
        },
        {
            "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/515.json",
            "reference_id": "515",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/515.json"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5415",
            "reference_id": "CVE-2019-5415",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5415"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-v588-qcp3-jv46",
            "reference_id": "GHSA-v588-qcp3-jv46",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-v588-qcp3-jv46"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 548,
            "name": "Exposure of Information Through Directory Listing",
            "description": "A directory listing is inappropriately exposed, yielding potentially sensitive information to attackers."
        },
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.3 - 9.3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tjj3-565d-4yab"
}