Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53262?format=api",
    "vulnerability_id": "VCID-dd3n-vx2q-b3b8",
    "summary": "Keycloak allows arbitrary Javascript to be uploaded for SAML protocol mapper even if UPLOAD_SCRIPTS feature disabled\n## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of [GHSA-wf7g-7h6h-678v](https://github.com/advisories/GHSA-wf7g-7h6h-678v). This link is maintained to preserve external references.\n\n## Original Description\nAn issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled.",
    "aliases": [
        {
            "alias": "GHSA-q2gp-gph3-88x9"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/144298?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-saml-core@19.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dd3n-vx2q-b3b8"
                },
                {
                    "vulnerability": "VCID-qcj1-m1ga-9qh1"
                },
                {
                    "vulnerability": "VCID-xd7x-aevv-cfcp"
                },
                {
                    "vulnerability": "VCID-z76m-nbap-v7ab"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-saml-core@19.0.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2022-2668",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://access.redhat.com/security/cve/CVE-2022-2668"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2115392",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2115392"
        },
        {
            "reference_url": "https://github.com/keycloak/keycloak",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/keycloak/keycloak"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2668",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2668"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-q2gp-gph3-88x9",
            "reference_id": "GHSA-q2gp-gph3-88x9",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-q2gp-gph3-88x9"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dd3n-vx2q-b3b8"
}