Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/6662?format=api",
    "purl": "pkg:npm/serve@7.0.0",
    "type": "npm",
    "namespace": "",
    "name": "serve",
    "version": "7.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.0.0",
    "latest_non_vulnerable_version": "8.0.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30600?format=api",
            "vulnerability_id": "VCID-kfkt-8j73-6ka6",
            "summary": "Information Exposure Through Directory Listing\n[serve] Directory listing and File access even when they have been set to be ignored",
            "references": [
                {
                    "reference_url": "https://hackerone.com/reports/330650",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://hackerone.com/reports/330650"
                },
                {
                    "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/439.json",
                    "reference_id": "439",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/439.json"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3809",
                    "reference_id": "CVE-2018-3809",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3809"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55521?format=api",
                    "purl": "pkg:npm/serve@6.5.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/serve@6.5.4"
                },
                {
                    "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"
                }
            ],
            "aliases": [
                "CVE-2018-3809"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kfkt-8j73-6ka6"
        },
        {
            "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)",
            "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"
                }
            ],
            "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"
                }
            ],
            "aliases": [
                "CVE-2019-5415",
                "GHSA-v588-qcp3-jv46"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tjj3-565d-4yab"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/serve@7.0.0"
}