Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/60674?format=api",
    "purl": "pkg:maven/org.wildfly.security/wildfly-elytron@1.6.8",
    "type": "maven",
    "namespace": "org.wildfly.security",
    "name": "wildfly-elytron",
    "version": "1.6.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.11.4",
    "latest_non_vulnerable_version": "1.11.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "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.",
            "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"
                }
            ],
            "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"
                }
            ],
            "aliases": [
                "CVE-2020-1748",
                "GHSA-qgrq-cx4c-2rmm"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d8h5-ann3-cqab"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wildfly.security/wildfly-elytron@1.6.8"
}