Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/54599?format=api",
    "purl": "pkg:npm/dcdcdcdcdc@1.0.0",
    "type": "npm",
    "namespace": "",
    "name": "dcdcdcdcdc",
    "version": "1.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/12505?format=api",
            "vulnerability_id": "VCID-9w6s-m1eq-w7fq",
            "summary": "Path Traversal\ndcdcdcdcdc 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-16190",
                    "reference_id": "CVE-2017-16190",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16190"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2017-16190"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9w6s-m1eq-w7fq"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/dcdcdcdcdc@1.0.0"
}