CVE-2024-8883

Keycloak: vulnerable redirect uri validation results in open redirec

6.1 medium EPSS 2.11%

Published 19 Sep 2024 Updated 3 Nov 2026 CNA: redhat

Check your servers for CVE-2024-8883

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-8883 affects eap8-eap-product-conf-parent, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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)

6.1 medium CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 2.11%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 82.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 19 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-601 URL Redirection to Untrusted Site

Affected products

As the CNA lists them.

ProductVersions
keycloak-services
package keycloak-services
affected before 22.0.12
affected from 23.0.0, before 24.0.7
affected from 25.0.0, before 25.0.5
Other versions: unaffected
Red Hat Build of Keycloak
package keycloak-services
unaffected the record does not list versions
Red Hat Build of Keycloak
package keycloak-services
unaffected the record does not list versions
Red Hat build of Keycloak 22
package rhbk/keycloak-operator-bundle
unaffected 22.0.13-1 and later
Other versions: affected
Red Hat build of Keycloak 22
package rhbk/keycloak-rhel9
unaffected 22-18 and later
Other versions: affected
Red Hat build of Keycloak 22
package rhbk/keycloak-rhel9-operator
unaffected 22-21 and later
Other versions: affected
Red Hat build of Keycloak 24
package rhbk/keycloak-operator-bundle
unaffected 24.0.8-1 and later
Other versions: affected
Red Hat build of Keycloak 24
package rhbk/keycloak-rhel9
unaffected 24-17 and later
Other versions: affected
Red Hat build of Keycloak 24
package rhbk/keycloak-rhel9-operator
unaffected 24-17 and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8
unaffected the record does not list versions
Red Hat JBoss Enterprise Application Platform 8
unaffected the record does not list versions
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-eap-product-conf-parent
unaffected 0:800.4.1-1.GA_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-wildfly
unaffected 0:8.0.4-3.GA_redhat_00007.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-activemq-artemis
unaffected 0:2.33.0-1.redhat_00015.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-activemq-artemis-native
unaffected 1:2.0.0-2.redhat_00005.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-aesh-extensions
unaffected 0:1.8.0-2.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-aesh-readline
unaffected 0:2.2.0-2.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-apache-commons-codec
unaffected 0:1.16.1-2.redhat_00007.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-apache-commons-collections
unaffected 0:3.2.2-28.redhat_2.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-apache-commons-io
unaffected 0:2.15.1-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-apache-commons-lang
unaffected 0:3.14.0-2.redhat_00006.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-apache-cxf
unaffected 0:4.0.5-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-artemis-native
unaffected 1:2.0.0-2.redhat_00005.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-artemis-wildfly-integration
unaffected 0:2.0.1-1.redhat_00002.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-asyncutil
unaffected 0:0.1.0-2.redhat_00010.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-aws-java-sdk
unaffected 0:1.12.284-2.redhat_00002.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-cryptacular
unaffected 0:1.2.5-2.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-eap-product-conf-parent
unaffected 0:800.4.0-1.GA_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-fastinfoset
unaffected 0:2.1.0-4.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-hibernate
unaffected 0:6.2.31-1.Final_redhat_00002.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-hibernate-validator
unaffected 0:8.0.1-3.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-hppc
unaffected 0:0.8.1-2.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-insights-java-client
unaffected 0:1.1.3-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-jakarta-servlet-jsp-jstl-api
unaffected 0:3.0.1-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-jboss-cert-helper
unaffected 0:1.1.3-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-jboss-logging
unaffected 0:3.5.3-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-jctools
unaffected 0:4.0.2-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-jgroups
unaffected 0:5.3.10-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-log4j
unaffected 0:2.22.1-1.redhat_00002.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-narayana
unaffected 0:6.0.3-1.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-nimbus-jose-jwt
unaffected 0:9.37.3-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-objectweb-asm
unaffected 0:9.6.0-1.redhat_00002.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-pem-keystore
unaffected 0:2.3.0-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-resteasy-extensions
unaffected 0:2.0.1-3.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-resteasy-spring
unaffected 0:3.0.1-2.Final_redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-saaj-impl
unaffected 0:3.0.4-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-shibboleth-java-support
unaffected 0:8.0.0-6.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-slf4j
unaffected 0:2.0.16-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-snakeyaml
unaffected 0:2.2.0-1.redhat_00001.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
package eap8-wildfly
unaffected 0:8.0.4-2.GA_redhat_00005.1.el8eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-eap-product-conf-parent
unaffected 0:800.4.1-1.GA_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-wildfly
unaffected 0:8.0.4-3.GA_redhat_00007.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-activemq-artemis
unaffected 0:2.33.0-1.redhat_00015.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-activemq-artemis-native
unaffected 1:2.0.0-2.redhat_00005.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-aesh-extensions
unaffected 0:1.8.0-2.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-aesh-readline
unaffected 0:2.2.0-2.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-apache-commons-codec
unaffected 0:1.16.1-2.redhat_00007.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-apache-commons-collections
unaffected 0:3.2.2-28.redhat_2.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-apache-commons-io
unaffected 0:2.15.1-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-apache-commons-lang
unaffected 0:3.14.0-2.redhat_00006.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-apache-cxf
unaffected 0:4.0.5-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-artemis-native
unaffected 1:2.0.0-2.redhat_00005.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-artemis-wildfly-integration
unaffected 0:2.0.1-1.redhat_00002.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-asyncutil
unaffected 0:0.1.0-2.redhat_00010.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-aws-java-sdk
unaffected 0:1.12.284-2.redhat_00002.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-cryptacular
unaffected 0:1.2.5-2.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-eap-product-conf-parent
unaffected 0:800.4.0-1.GA_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-fastinfoset
unaffected 0:2.1.0-4.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-hibernate
unaffected 0:6.2.31-1.Final_redhat_00002.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-hibernate-validator
unaffected 0:8.0.1-3.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-hppc
unaffected 0:0.8.1-2.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-insights-java-client
unaffected 0:1.1.3-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-jakarta-servlet-jsp-jstl-api
unaffected 0:3.0.1-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-jboss-cert-helper
unaffected 0:1.1.3-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-jboss-logging
unaffected 0:3.5.3-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-jctools
unaffected 0:4.0.2-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-jgroups
unaffected 0:5.3.10-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-log4j
unaffected 0:2.22.1-1.redhat_00002.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-narayana
unaffected 0:6.0.3-1.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-nimbus-jose-jwt
unaffected 0:9.37.3-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-objectweb-asm
unaffected 0:9.6.0-1.redhat_00002.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-pem-keystore
unaffected 0:2.3.0-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-resteasy-extensions
unaffected 0:2.0.1-3.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-resteasy-spring
unaffected 0:3.0.1-2.Final_redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-saaj-impl
unaffected 0:3.0.4-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-shibboleth-java-support
unaffected 0:8.0.0-6.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-slf4j
unaffected 0:2.0.16-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-snakeyaml
unaffected 0:2.2.0-1.redhat_00001.1.el9eap and later
Other versions: affected
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
package eap8-wildfly
unaffected 0:8.0.4-2.GA_redhat_00005.1.el9eap and later
Other versions: affected
Red Hat Single Sign-On 7
package keycloak-services
unaffected the record does not list versions
Red Hat Single Sign-On 7.6 for RHEL 7
package rh-sso7-keycloak
unaffected 0:18.0.18-1.redhat_00001.1.el7sso and later
Other versions: affected
Red Hat Single Sign-On 7.6 for RHEL 8
package rh-sso7-keycloak
unaffected 0:18.0.18-1.redhat_00001.1.el8sso and later
Other versions: affected
Red Hat Single Sign-On 7.6 for RHEL 9
package rh-sso7-keycloak
unaffected 0:18.0.18-1.redhat_00001.1.el9sso and later
Other versions: affected
RHEL-8 based Middleware Containers
package rh-sso-7/sso76-openshift-rhel8
unaffected 7.6-54 and later
Other versions: affected

Is my server affected?

Find the installed version of eap8-eap-product-conf-parent and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i eap8-eap-product-conf-parent
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-8883 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-8883

RHEL, Rocky, Alma, Fedora

rpm -q eap8-eap-product-conf-parent
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-8883

Alpine

apk list --installed | grep -i eap8-eap-product-conf-parent

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-8883
trivy image --scanners vuln IMAGE | grep CVE-2024-8883

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

4 more

Other references

Source: the record CVE-2024-8883 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.