Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/60272?format=api",
    "purl": "pkg:maven/org.keycloak/keycloak-services@15.1.1",
    "type": "maven",
    "namespace": "org.keycloak",
    "name": "keycloak-services",
    "version": "15.1.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "18.0.0",
    "latest_non_vulnerable_version": "26.5.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42177?format=api",
            "vulnerability_id": "VCID-1a4q-f36b-43aq",
            "summary": "Incorrect Authorization\nA flaw was found in Keycloak which allows an attacker with any existing user account to create new default user accounts via the administrative REST API even when new user registration is disabled.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2033602",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2033602"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/issues/9247",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keycloak/keycloak/issues/9247"
                },
                {
                    "reference_url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4133",
                    "reference_id": "CVE-2021-4133",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4133"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-83x4-9cwr-5487",
                    "reference_id": "GHSA-83x4-9cwr-5487",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-83x4-9cwr-5487"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60272?format=api",
                    "purl": "pkg:maven/org.keycloak/keycloak-services@15.1.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-services@15.1.1"
                }
            ],
            "aliases": [
                "CVE-2021-4133",
                "GHSA-83x4-9cwr-5487"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1a4q-f36b-43aq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-services@15.1.1"
}