Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42412?format=api",
    "vulnerability_id": "VCID-d8h5-ann3-cqab",
    "summary": "Incorrect Authorization in WildFly Elytron\nA flaw was found in all supported versions before wildfly-elytron-1.6.8.Final-redhat-00001, where the WildFlySecurityManager checks were bypassed when using custom security managers, resulting in an improper authorization. This flaw leads to information exposure by unauthenticated access to secure resources.",
    "aliases": [
        {
            "alias": "CVE-2020-1748"
        },
        {
            "alias": "GHSA-qgrq-cx4c-2rmm"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60674?format=api",
            "purl": "pkg:maven/org.wildfly.security/wildfly-elytron@1.6.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wildfly.security/wildfly-elytron@1.6.8"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60673?format=api",
            "purl": "pkg:maven/org.wildfly.security/wildfly-elytron@1.6.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d8h5-ann3-cqab"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wildfly.security/wildfly-elytron@1.6.7"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1807707",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1807707"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20201001-0005/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20201001-0005/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-1748",
            "reference_id": "CVE-2020-1748",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-1748"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-qgrq-cx4c-2rmm",
            "reference_id": "GHSA-qgrq-cx4c-2rmm",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-qgrq-cx4c-2rmm"
        }
    ],
    "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-d8h5-ann3-cqab"
}