{"id":"CVE-2024-8883","summary":"Keycloak: vulnerable redirect uri validation results in open redirec","details":"A misconfiguration flaw was found in Keycloak. This issue can allow an attacker to redirect users to an arbitrary URL if a 'Valid Redirect URI' is set to http://localhost or http://127.0.0.1, enabling sensitive information such as authorization codes to be exposed to the attacker, potentially leading to session hijacking.","aliases":["GHSA-w8gr-xwp4-r9f7"],"modified":"2026-08-12T03:51:16.708200103Z","published":"2024-09-19T15:48:28.468Z","related":["CGA-77x8-34mh-p366"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8883.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/protocol/oidc/utils/RedirectUtils.java"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10385"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10386"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6878"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6879"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6880"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6882"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6886"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6887"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6888"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6889"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6890"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:8823"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:8824"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:8826"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-8883"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8883.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8883"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2312511"},{"type":"PACKAGE","url":"https://github.com/keycloak/keycloak"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/keycloak/keycloak","events":[{"introduced":"0"},{"fixed":"8dccc90db0b1ed6c885973f2baa86ad8507671f9"},{"introduced":"1d4ce3d8e9dbc9af996f9248996c78e145902a35"},{"fixed":"940b03ea9cc7c579aa3185e4d995a45d10b0c254"},{"introduced":"5279b7f4530afc3c05699a2d8bbcdd18f557b6a9"},{"fixed":"d1748888dfab652a1fe5a9a4544ecf8c5e59820a"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"22.0.12"},{"introduced":"23.0.0"},{"fixed":"24.0.7"},{"introduced":"25.0.0"},{"fixed":"25.0.5"}]}}],"versions":["2.4.0.Test","1.3.0.Final","1.1.0.Beta2","1.0.0.Final","1.0-final","1.0-rc-1","1.0-beta-4","1.0-beta-2","1.0-beta-1","1.0-alpha-3","1.0-alpha-2","1.0-alpha-1","1.0-alpha-1-12062013"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8883.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}