Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/59795?format=api",
    "purl": "pkg:npm/comb@0.0.0",
    "type": "npm",
    "namespace": "",
    "name": "comb",
    "version": "0.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41855?format=api",
            "vulnerability_id": "VCID-gk7t-gv69-kbf1",
            "summary": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')\ncomb is vulnerable to Prototype Pollution via the `deepMerge()` function.",
            "references": [
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JS-COMB-1730083",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://snyk.io/vuln/SNYK-JS-COMB-1730083"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23561",
                    "reference_id": "CVE-2021-23561",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23561"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-23561"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gk7t-gv69-kbf1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/comb@0.0.0"
}