Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57452?format=api",
    "purl": "pkg:npm/openframe-image@0.2.3",
    "type": "npm",
    "namespace": "",
    "name": "openframe-image",
    "version": "0.2.3",
    "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/40692?format=api",
            "vulnerability_id": "VCID-v7xj-2qjk-4fex",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nopenframe-image is an Openframe extension which adds support for images via fbi. openframe-image downloads data resources over HTTP, which leaves it vulnerable to MITM attacks.",
            "references": [
                {
                    "reference_url": "https://nodesecurity.io/advisories/218",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nodesecurity.io/advisories/218"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/218",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.npmjs.com/advisories/218"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10616",
                    "reference_id": "CVE-2016-10616",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10616"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mgr2-3mpv-43gc",
                    "reference_id": "GHSA-mgr2-3mpv-43gc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mgr2-3mpv-43gc"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2016-10616",
                "GHSA-mgr2-3mpv-43gc"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v7xj-2qjk-4fex"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/openframe-image@0.2.3"
}