Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "GMS-2016-58"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52851?format=api",
            "purl": "pkg:npm/node-krb5@0.0.0-alpha",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pjkf-swrh-5uc9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-krb5@0.0.0-alpha"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pjkf-swrh-5uc9"
}