Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/55633?format=api",
    "purl": "pkg:npm/tencent-server@0.0.2",
    "type": "npm",
    "namespace": "",
    "name": "tencent-server",
    "version": "0.0.2",
    "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/39803?format=api",
            "vulnerability_id": "VCID-7ubv-mjsb-f7a9",
            "summary": "Path Traversal\ntencent-server is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing `../` in the url.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16216",
                    "reference_id": "CVE-2017-16216",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16216"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2017-16216"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7ubv-mjsb-f7a9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/tencent-server@0.0.2"
}