Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67035?format=api",
    "purl": "pkg:npm/keycloak-connect@0.0.0",
    "type": "npm",
    "namespace": "",
    "name": "keycloak-connect",
    "version": "0.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.5.1",
    "latest_non_vulnerable_version": "23.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46082?format=api",
            "vulnerability_id": "VCID-b7wt-ds9h-9bcu",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nA reflected cross-site scripting (XSS) vulnerability was found in the 'oob' OAuth endpoint due to incorrect null-byte handling. This issue allows a malicious link to insert an arbitrary URI into a Keycloak error page. This flaw requires a user or administrator to interact with a link in order to be vulnerable. This may compromise user details, allowing it to be changed or collected by an attacker.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1043",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1043"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1044",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1044"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1045"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1049",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1049"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2148496",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2148496"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/commit/30d0e9d22dae51392e5a3748a1c68c116667359a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keycloak/keycloak/commit/30d0e9d22dae51392e5a3748a1c68c116667359a"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/pull/16774",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keycloak/keycloak/pull/16774"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2022-4137",
                    "reference_id": "CVE-2022-4137",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2022-4137"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-4137",
                    "reference_id": "CVE-2022-4137",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-4137"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-9hhc-pj4w-w5rv",
                    "reference_id": "GHSA-9hhc-pj4w-w5rv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-9hhc-pj4w-w5rv"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-9hhc-pj4w-w5rv",
                    "reference_id": "GHSA-9hhc-pj4w-w5rv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-9hhc-pj4w-w5rv"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-4137",
                "GHSA-9hhc-pj4w-w5rv",
                "GMS-2023-616"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b7wt-ds9h-9bcu"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46051?format=api",
            "vulnerability_id": "VCID-e5va-tex4-5yea",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nA flaw was found in Keycloak. Under specific circumstances, HTML entities are not sanitized during user impersonation, resulting in a Cross-site scripting (XSS) vulnerability.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1043",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1043"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1044",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1044"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1045"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1047",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1047"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1049",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1049"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2031904",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2031904"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/blob/48835576daa158443f69917ac309e1a7c951bc87/services/src/main/java/org/keycloak/authentication/AuthenticationProcessor.java#L1045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keycloak/keycloak/blob/48835576daa158443f69917ac309e1a7c951bc87/services/src/main/java/org/keycloak/authentication/AuthenticationProcessor.java#L1045"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/cve-2022-1438",
                    "reference_id": "CVE-2022-1438",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/cve-2022-1438"
                },
                {
                    "reference_url": "https://access.redhat.com/security/cve/CVE-2022-1438",
                    "reference_id": "CVE-2022-1438",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/security/cve/CVE-2022-1438"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-1438",
                    "reference_id": "CVE-2022-1438",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-1438"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-w354-2f3c-qvg9",
                    "reference_id": "GHSA-w354-2f3c-qvg9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-w354-2f3c-qvg9"
                },
                {
                    "reference_url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-w354-2f3c-qvg9",
                    "reference_id": "GHSA-w354-2f3c-qvg9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-w354-2f3c-qvg9"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-1438",
                "GHSA-w354-2f3c-qvg9",
                "GMS-2023-529"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-e5va-tex4-5yea"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/keycloak-connect@0.0.0"
}