Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30746?format=api",
    "vulnerability_id": "VCID-mavd-c8fd-dkhe",
    "summary": "Duplicate Advisory: Keycloak allows impersonation and lockout due to email trust not being handled correctly\n## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-c7xw-p58w-h6fj. This link is maintained to preserve external references. \n\n## Original Description\nA flaw was found in Keycloak. This flaw allows impersonation and lockout due to the email trust not being handled correctly in Keycloak. An attacker can shadow other users with the same email and lockout or impersonate them.",
    "aliases": [
        {
            "alias": "GHSA-vhvq-jh34-3fc8"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60121?format=api",
            "purl": "pkg:maven/org.keycloak/keycloak-core@20.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2xyb-g3n4-n3ca"
                },
                {
                    "vulnerability": "VCID-49qw-j7rn-qfdf"
                },
                {
                    "vulnerability": "VCID-7j7q-m1zp-zfac"
                },
                {
                    "vulnerability": "VCID-7xuf-btg3-ckf6"
                },
                {
                    "vulnerability": "VCID-e85z-cn66-fye8"
                },
                {
                    "vulnerability": "VCID-eaaa-ejr9-6ygx"
                },
                {
                    "vulnerability": "VCID-engr-q4ge-53dc"
                },
                {
                    "vulnerability": "VCID-epys-8p8v-zugv"
                },
                {
                    "vulnerability": "VCID-heqp-u355-wyaz"
                },
                {
                    "vulnerability": "VCID-kp25-fan9-jkd2"
                },
                {
                    "vulnerability": "VCID-mavd-c8fd-dkhe"
                },
                {
                    "vulnerability": "VCID-nhe2-8dtq-gqbf"
                },
                {
                    "vulnerability": "VCID-yaxc-7za7-zbbe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.keycloak/keycloak-core@20.0.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2023-0105",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://access.redhat.com/security/cve/CVE-2023-0105"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2158910",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2158910"
        },
        {
            "reference_url": "https://github.com/keycloak/keycloak",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/keycloak/keycloak"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0105",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0105"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vhvq-jh34-3fc8",
            "reference_id": "GHSA-vhvq-jh34-3fc8",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-vhvq-jh34-3fc8"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 287,
            "name": "Improper Authentication",
            "description": "When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct."
        },
        {
            "cwe_id": 841,
            "name": "Improper Enforcement of Behavioral Workflow",
            "description": "The product supports a session in which more than one behavior must be performed by an actor, but it does not properly ensure that the actor performs the behaviors in the required sequence."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mavd-c8fd-dkhe"
}