{"answers":{"affected":"2 open source packages ship an affected version, including org.keycloak:keycloak-services.","exploited":"There is no known exploitation of GHSA-mwm4-5qwr-g9pf in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-services to 18.0.0 or later.","what":"GHSA-mwm4-5qwr-g9pf is a vulnerability in org.keycloak:keycloak-services, published on 28 Apr 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-mwm4-5qwr-g9pf and fix it if it is affected.\n\nWhat it is: GHSA-mwm4-5qwr-g9pf is a vulnerability in org.keycloak:keycloak-services, published on 28 Apr 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-mwm4-5qwr-g9pf in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 18.0.0\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 18.0.0\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/GHSA-mwm4-5qwr-g9pf/ (Markdown: https://insights.sbomify.com/GHSA-mwm4-5qwr-g9pf/index.md)","id":"GHSA-mwm4-5qwr-g9pf","markdown":"https://insights.sbomify.com/GHSA-mwm4-5qwr-g9pf/index.md","name":"GHSA-mwm4-5qwr-g9pf","record":{"aliases":[],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Identity and Access Management","requires_auth":"low_privilege","summary":"Attackers can register visually similar usernames to trick admins into granting unauthorized privileges, compromising system integrity.","user_interaction":"required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"A flaw was found in keycloak, where IDN homograph attacks are possible. This flaw allows a malicious user to register a name that already exists and then tricking an admin to grant extra privileges. The highest threat from this vulnerability is to integrity.","ecosystems":["Maven"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Keycloak is vulnerable to IDN homograph attack","id":"GHSA-mwm4-5qwr-g9pf","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Maven","product":null,"products":[],"type":"business_logic","year":"2022"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Maven","fixed":["18.0.0"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-mwm4-5qwr-g9pf"},{"ecosystem":"Maven","fixed":["18.0.0"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-mwm4-5qwr-g9pf"}],"products":null,"published":"2022-04-28","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can register visually similar usernames to trick admins into granting unauthorized privileges, compromising system integrity.","url":"https://insights.sbomify.com/GHSA-mwm4-5qwr-g9pf/"}