Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2024-8883

CVE-2024-8883: Keycloak has Vulnerable Redirect URI Validation Results in Open Redirect

October 14, 2024 (updated December 20, 2024)

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.

References

  • access.redhat.com/errata/RHSA-2024:10385
  • access.redhat.com/errata/RHSA-2024:10386
  • access.redhat.com/errata/RHSA-2024:6878
  • access.redhat.com/errata/RHSA-2024:6879
  • access.redhat.com/errata/RHSA-2024:6880
  • access.redhat.com/errata/RHSA-2024:6882
  • access.redhat.com/errata/RHSA-2024:6886
  • access.redhat.com/errata/RHSA-2024:6887
  • access.redhat.com/errata/RHSA-2024:6888
  • access.redhat.com/errata/RHSA-2024:6889
  • access.redhat.com/errata/RHSA-2024:6890
  • access.redhat.com/errata/RHSA-2024:8823
  • access.redhat.com/errata/RHSA-2024:8824
  • access.redhat.com/errata/RHSA-2024:8826
  • access.redhat.com/security/cve/CVE-2024-8883
  • bugzilla.redhat.com/show_bug.cgi?id=2312511
  • github.com/advisories/GHSA-w8gr-xwp4-r9f7
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/protocol/oidc/utils/RedirectUtils.java
  • github.com/keycloak/keycloak/releases/tag/25.0.6
  • github.com/keycloak/keycloak/security/advisories/GHSA-w8gr-xwp4-r9f7
  • nvd.nist.gov/vuln/detail/CVE-2024-8883

Code Behaviors & Features

Detect and mitigate CVE-2024-8883 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 22.0.13, all versions starting from 23.0.0 before 24.0.8, all versions starting from 25.0.0 before 25.0.6

Fixed versions

  • 22.0.13
  • 24.0.8
  • 25.0.6

Solution

Upgrade to versions 22.0.13, 24.0.8, 25.0.6 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

maven/org.keycloak/keycloak-services/CVE-2024-8883.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:22 +0000.