Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62725?format=api",
    "purl": "pkg:maven/org.keycloak/keycloak-parent@4.3.0.Final",
    "type": "maven",
    "namespace": "org.keycloak",
    "name": "keycloak-parent",
    "version": "4.3.0.Final",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.4.0",
    "latest_non_vulnerable_version": "23.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40438?format=api",
            "vulnerability_id": "VCID-39am-wkz3-8ubu",
            "summary": "Cross-site Scripting\nWhen using `response_mode=form_post` it is possible to inject arbitrary Javascript-Code via the `state`-parameter in the authentication URL. This allows an XSS-Attack upon succesfully login.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:3592",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:3592"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:3593",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:3593"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:3595",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:3595"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14655",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14655"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-14655",
                    "reference_id": "CVE-2018-14655",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-14655"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-458h-wv48-fq75",
                    "reference_id": "GHSA-458h-wv48-fq75",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-458h-wv48-fq75"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-14655",
                "GHSA-458h-wv48-fq75"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-39am-wkz3-8ubu"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-parent@4.3.0.Final"
}