{"answers":{"affected":"2 open source packages ship an affected version, including org.keycloak:keycloak-services.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3656 exists.","fix":"Upgrade org.keycloak:keycloak-services to 24.0.5 or later.","what":"CVE-2024-3656 is a high-severity missing authorization vulnerability in Red Hat Build of Keycloak, published on 9 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-3656 and fix it if it is affected.\n\nWhat it is: CVE-2024-3656 is a high-severity missing authorization vulnerability in Red Hat Build of Keycloak, published on 9 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3656 exists.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 24.0.5\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 24.0.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-3656/ (Markdown: https://insights.sbomify.com/CVE-2024-3656/index.md)","id":"CVE-2024-3656","markdown":"https://insights.sbomify.com/CVE-2024-3656/index.md","name":"CVE-2024-3656","record":{"aliases":["GHSA-2cww-fgmg-4jqc"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Identity and Access Management","requires_auth":"low_privilege","summary":"Low-privilege users can access administrative endpoints in Keycloak, enabling unauthorized actions and potential data breaches.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"A flaw was found in Keycloak. Certain endpoints in Keycloak's admin REST API allow low-privilege users to access administrative functionalities. This flaw allows users to perform actions reserved for administrators, potentially leading to data breaches or system compromise.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2024-10-12","github_poc":1,"max_poc_stars":32,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-10-12T09:17:00Z","kind":"github_poc","ref":"https://github.com/h4x0r-dz/CVE-2024-3656","stars":32,"title":"Keycloak admin API allows low privilege users to use administrative functions"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-3656.yaml","stars":null,"title":"Keycloak \u003c 24.0.5 - Broken Access Control"}],"tier":"weaponised"},"has_fix":true,"headline":"Keycloak: unguarded admin rest api endpoints allows low privilege users to use administrative functionalities","id":"CVE-2024-3656","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":2,"n_references":5,"next":{"headline":"389-ds-base: potential denial of service via specially crafted kerberos as-req request","id":"CVE-2024-3657"},"packages":[{"ecosystem":"Maven","fixed":["24.0.5"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-2cww-fgmg-4jqc"},{"ecosystem":"Maven","fixed":["24.0.5"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-2cww-fgmg-4jqc"}],"prev":{"headline":"Mali GPU Kernel Driver allows improper GPU memory processing operations","id":"CVE-2024-3655"},"products":["Red Hat Build of Keycloak","Red Hat JBoss Enterprise Application Platform 8","Red Hat Single Sign-On 7"],"published":"2024-10-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-09","vendors":["Red Hat"]},"summary":"Low-privilege users can access administrative endpoints in Keycloak, enabling unauthorized actions and potential data breaches.","url":"https://insights.sbomify.com/CVE-2024-3656/"}