cve.bz

CVE-2024-8883 redhat: Open Redirect

6.1 mediumEPSS 2.1%Fix available

Medium (6.1) in redhat. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 22.0.13, 24.0.8, 25.0.6.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-09-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.keycloak:keycloak-services (Maven): fixed in 22.0.13, 24.0.8, 25.0.6
  • Red Hat Red Hat build of Keycloak 22: fixed in 22.0.13-1
  • Red Hat Red Hat build of Keycloak 22: fixed in 22-18
  • Red Hat Red Hat build of Keycloak 22: fixed in 22-21
  • Red Hat Red Hat build of Keycloak 24: fixed in 24.0.8-1
  • Red Hat Red Hat build of Keycloak 24: fixed in 24-17
  • Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: fixed in 0:800.4.1-1.GA_redhat_00001.1.el8eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: fixed in 0:8.0.4-3.GA_redhat_00007.1.el8eap
  • Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: fixed in 0:2.33.0-1.redhat_00015.1.el8eap
  • Red Hat: fixed package versions per release
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2024:6878
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2024:6879
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2024:6880

Ask an AI about this CVE

Show the promptExplain CVE-2024-8883 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-8883?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-8883?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-8883 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 2222.0.13-1
Red Hat build of Keycloak 2222-18
Red Hat build of Keycloak 2222-21
Red Hat build of Keycloak 2424.0.8-1
Red Hat build of Keycloak 2424-17
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:800.4.1-1.GA_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:8.0.4-3.GA_redhat_00007.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.33.0-1.redhat_00015.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 81:2.0.0-2.redhat_00005.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:1.8.0-2.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.2.0-2.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:1.16.1-2.redhat_00007.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:3.2.2-28.redhat_2.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.15.1-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:3.14.0-2.redhat_00006.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:4.0.5-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.0.1-1.redhat_00002.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:0.1.0-2.redhat_00010.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:1.12.284-2.redhat_00002.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:1.2.5-2.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:800.4.0-1.GA_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.1.0-4.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:6.2.31-1.Final_redhat_00002.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:8.0.1-3.Final_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:0.8.1-2.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:1.1.3-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:3.0.1-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:3.5.3-1.Final_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:4.0.2-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:5.3.10-1.Final_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.22.1-1.redhat_00002.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:6.0.3-1.Final_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:9.37.3-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:9.6.0-1.redhat_00002.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.3.0-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.0.1-3.Final_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:3.0.1-2.Final_redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:3.0.4-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:8.0.0-6.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.0.16-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:2.2.0-1.redhat_00001.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 80:8.0.4-2.GA_redhat_00005.1.el8eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:800.4.1-1.GA_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:8.0.4-3.GA_redhat_00007.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.33.0-1.redhat_00015.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 91:2.0.0-2.redhat_00005.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:1.8.0-2.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.2.0-2.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:1.16.1-2.redhat_00007.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:3.2.2-28.redhat_2.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.15.1-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:3.14.0-2.redhat_00006.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:4.0.5-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.0.1-1.redhat_00002.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:0.1.0-2.redhat_00010.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:1.12.284-2.redhat_00002.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:1.2.5-2.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:800.4.0-1.GA_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.1.0-4.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:6.2.31-1.Final_redhat_00002.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:8.0.1-3.Final_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:0.8.1-2.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:1.1.3-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:3.0.1-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:3.5.3-1.Final_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:4.0.2-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:5.3.10-1.Final_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.22.1-1.redhat_00002.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:6.0.3-1.Final_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:9.37.3-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:9.6.0-1.redhat_00002.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.3.0-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.0.1-3.Final_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:3.0.1-2.Final_redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:3.0.4-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:8.0.0-6.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.0.16-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:2.2.0-1.redhat_00001.1.el9eap
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 90:8.0.4-2.GA_redhat_00005.1.el9eap
Red Hat Single Sign-On 7.6 for RHEL 70:18.0.18-1.redhat_00001.1.el7sso
Red Hat Single Sign-On 7.6 for RHEL 80:18.0.18-1.redhat_00001.1.el8sso
Red Hat Single Sign-On 7.6 for RHEL 90:18.0.18-1.redhat_00001.1.el9sso
Red Hat RHEL-8 based Middleware Containers7.6-54

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w8gr-xwp4-r9f7Mavenorg.keycloak:keycloak-services<22.0.1322.0.13
GHSA-w8gr-xwp4-r9f7Mavenorg.keycloak:keycloak-services>=23.0.0 <24.0.824.0.8
GHSA-w8gr-xwp4-r9f7Mavenorg.keycloak:keycloak-services>=25.0.0 <25.0.625.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis, eap8-activemq-artemis-cli, eap8-activemq-artemis-dto and 12 more0:2.33.0-1.redhat_00015.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-aesh-extensions0:1.8.0-2.redhat_00001.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-aesh-readline0:2.2.0-2.redhat_00001.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-apache-commons-codec0:1.16.1-2.redhat_00007.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-apache-commons-collections0:3.2.2-28.redhat_2.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-apache-commons-io0:2.15.1-1.redhat_00001.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-apache-commons-lang0:3.14.0-2.redhat_00006.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-apache-cxf, eap8-apache-cxf-rt, eap8-apache-cxf-tools and 1 more0:4.0.5-1.redhat_00001.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-artemis-native, eap8-artemis-native-wildfly, eap8-activemq-artemis-native1:2.0.0-2.redhat_00005.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-artemis-wildfly-integration0:2.0.1-1.redhat_00002.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-asyncutil0:0.1.0-2.redhat_00010.1.el8eapRHSA-2024:8823
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-aws-java-sdk, eap8-jmespath-java, eap8-aws-java-sdk-s3 and 2 more0:1.12.284-2.redhat_00002.1.el8eapRHSA-2024:8823
65 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact affects Red Hat Enterprise Application Platform, Red Hat Build of Keycloak, and Red Hat Single Sign-On. When a client is configured with a Valid Redirect URI of http://localhost or http://127.0.0.1, a remote attacker can send a malicious authorization link that causes Keycloak to redirect the user to an attacker-controlled URL, potentially exposing an authorization code and enabling session hijacking. The CVSS 3.1 score is 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), rated Moderate, consistent with the current upstream and Red Hat severity assessments. A fix is being pursued for the affected products under delegated resolution.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Build of Keycloakkeycloak-servicesFixed 2024-09-19RHSA-2024:6888
Red Hat Build of Keycloakkeycloak-servicesFixed 2024-09-19RHSA-2024:6890
Red Hat build of Keycloak 22rhbk/keycloak-operator-bundle:22.0.13-1Fixed 2024-09-19RHSA-2024:6887
Red Hat build of Keycloak 22rhbk/keycloak-rhel9:22-18Fixed 2024-09-19RHSA-2024:6887
Red Hat build of Keycloak 22rhbk/keycloak-rhel9-operator:22-21Fixed 2024-09-19RHSA-2024:6887
Red Hat build of Keycloak 24rhbk/keycloak-operator-bundle:24.0.8-1Fixed 2024-09-19RHSA-2024:6889
Red Hat build of Keycloak 24rhbk/keycloak-rhel9:24-17Fixed 2024-09-19RHSA-2024:6889
Red Hat build of Keycloak 24rhbk/keycloak-rhel9-operator:24-17Fixed 2024-09-19RHSA-2024:6889
Red Hat JBoss Enterprise Application Platform 8Fixed 2024-11-26RHSA-2024:10385
Red Hat JBoss Enterprise Application Platform 8Fixed 2024-11-04RHSA-2024:8826
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-eap-product-conf-parent-0:800.4.1-1.GA_redhat_00001.1.el8eapFixed 2024-11-26RHSA-2024:10386
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-wildfly-0:8.0.4-3.GA_redhat_00007.1.el8eapFixed 2024-11-26RHSA-2024:10386
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-activemq-artemis-0:2.33.0-1.redhat_00015.1.el8eapFixed 2024-11-04RHSA-2024:8823
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-activemq-artemis-native-1:2.0.0-2.redhat_00005.1.el8eapFixed 2024-11-04RHSA-2024:8823
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-aesh-extensions-0:1.8.0-2.redhat_00001.1.el8eapFixed 2024-11-04RHSA-2024:8823
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-aesh-readline-0:2.2.0-2.redhat_00001.1.el8eapFixed 2024-11-04RHSA-2024:8823
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-apache-commons-codec-0:1.16.1-2.redhat_00007.1.el8eapFixed 2024-11-04RHSA-2024:8823
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-apache-commons-collections-0:3.2.2-28.redhat_2.1.el8eapFixed 2024-11-04RHSA-2024:8823
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-apache-commons-io-0:2.15.1-1.redhat_00001.1.el8eapFixed 2024-11-04RHSA-2024:8823
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-apache-commons-lang-0:3.14.0-2.redhat_00006.1.el8eapFixed 2024-11-04RHSA-2024:8823
73 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-8883.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON