Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52851?format=api",
    "purl": "pkg:npm/node-krb5@0.0.0-alpha",
    "type": "npm",
    "namespace": "",
    "name": "node-krb5",
    "version": "0.0.0-alpha",
    "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/38187?format=api",
            "vulnerability_id": "VCID-pjkf-swrh-5uc9",
            "summary": "Spoofing attack due to unvalidated KDC\nThis module does not validate the KDC, which might allow an attacker with network access and enough time to spoof the KDC and impersonate a valid user without knowing their credentials.",
            "references": [
                {
                    "reference_url": "http://archive.hack.lu/2010/Bouillon-Stealing-credentials-for-impersonation.pdf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://archive.hack.lu/2010/Bouillon-Stealing-credentials-for-impersonation.pdf"
                },
                {
                    "reference_url": "https://github.com/qesuto/node-krb5/issues/13",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/qesuto/node-krb5/issues/13"
                },
                {
                    "reference_url": "https://www.npmjs.com/package/kerberos",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.npmjs.com/package/kerberos"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "GMS-2016-58"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pjkf-swrh-5uc9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-krb5@0.0.0-alpha"
}