Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40421?format=api",
    "vulnerability_id": "VCID-hm2f-t4wa-tuhu",
    "summary": "Exposure of Sensitive Information to an Unauthorized Actor\nIn Apache Directory LDAP API before 1.0.2, a bug in the way the SSL Filter was setup made it possible for another thread to use the connection before the TLS layer has been established, if the connection has already been used and put back in a pool of connections, leading to leaking any information contained in this request (including the credentials when sending a BIND request).",
    "aliases": [
        {
            "alias": "CVE-2018-1337"
        },
        {
            "alias": "GHSA-cfw5-v7cw-69cw"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56981?format=api",
            "purl": "pkg:maven/org.apache.directory.api/apache-ldap-api@1.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.directory.api/apache-ldap-api@1.0.2"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1337",
            "reference_id": "CVE-2018-1337",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1337"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cfw5-v7cw-69cw",
            "reference_id": "GHSA-cfw5-v7cw-69cw",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-cfw5-v7cw-69cw"
        }
    ],
    "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": 200,
            "name": "Exposure of Sensitive Information to an Unauthorized Actor",
            "description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
        },
        {
            "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-hm2f-t4wa-tuhu"
}