Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57022?format=api",
    "purl": "pkg:npm/keycloak-connect@4.1.0",
    "type": "npm",
    "namespace": "",
    "name": "keycloak-connect",
    "version": "4.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.5.1",
    "latest_non_vulnerable_version": "23.0.0",
    "affected_by_vulnerabilities": [],
    "fixing_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": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57022?format=api",
                    "purl": "pkg:npm/keycloak-connect@4.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-connect@4.1.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57005?format=api",
                    "purl": "pkg:npm/keycloak-connect@4.4.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-connect@4.4.0"
                }
            ],
            "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"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-connect@4.1.0"
}