CVE-2024-8883

Source
https://cve.org/CVERecord?id=CVE-2024-8883
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8883.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-8883
Aliases
Downstream
CGA (2)
RHSA (6)
Published
2024-09-19T15:48:28Z
Modified
2026-10-21T02:51:56Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

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",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "22.0.13-1"
                        },
                        {
                            "fixed":  "22-18"
                        },
                        {
                            "fixed":  "22-21"
                        },
                        {
                            "fixed":  "24.0.8-1"
                        },
                        {
                            "fixed":  "24-17"
                        },
                        {
                            "fixed":  "24-17"
                        },
                        {
                            "fixed":  "0:800.4.1-1.GA_redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:8.0.4-3.GA_redhat_00007.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.33.0-1.redhat_00015.1.el8eap"
                        },
                        {
                            "fixed":  "1:2.0.0-2.redhat_00005.1.el8eap"
                        },
                        {
                            "fixed":  "0:1.8.0-2.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.2.0-2.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:1.16.1-2.redhat_00007.1.el8eap"
                        },
                        {
                            "fixed":  "0:3.2.2-28.redhat_2.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.15.1-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:3.14.0-2.redhat_00006.1.el8eap"
                        },
                        {
                            "fixed":  "0:4.0.5-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "1:2.0.0-2.redhat_00005.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.0.1-1.redhat_00002.1.el8eap"
                        },
                        {
                            "fixed":  "0:0.1.0-2.redhat_00010.1.el8eap"
                        },
                        {
                            "fixed":  "0:1.12.284-2.redhat_00002.1.el8eap"
                        },
                        {
                            "fixed":  "0:1.2.5-2.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:800.4.0-1.GA_redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.1.0-4.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:6.2.31-1.Final_redhat_00002.1.el8eap"
                        },
                        {
                            "fixed":  "0:8.0.1-3.Final_redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:0.8.1-2.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:1.1.3-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:3.0.1-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:1.1.3-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:3.5.3-1.Final_redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:4.0.2-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:5.3.10-1.Final_redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.22.1-1.redhat_00002.1.el8eap"
                        },
                        {
                            "fixed":  "0:6.0.3-1.Final_redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:9.37.3-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:9.6.0-1.redhat_00002.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.3.0-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.0.1-3.Final_redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:3.0.1-2.Final_redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:3.0.4-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:8.0.0-6.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.0.16-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:2.2.0-1.redhat_00001.1.el8eap"
                        },
                        {
                            "fixed":  "0:8.0.4-2.GA_redhat_00005.1.el8eap"
                        },
                        {
                            "fixed":  "0:800.4.1-1.GA_redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:8.0.4-3.GA_redhat_00007.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.33.0-1.redhat_00015.1.el9eap"
                        },
                        {
                            "fixed":  "1:2.0.0-2.redhat_00005.1.el9eap"
                        },
                        {
                            "fixed":  "0:1.8.0-2.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.2.0-2.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:1.16.1-2.redhat_00007.1.el9eap"
                        },
                        {
                            "fixed":  "0:3.2.2-28.redhat_2.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.15.1-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:3.14.0-2.redhat_00006.1.el9eap"
                        },
                        {
                            "fixed":  "0:4.0.5-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "1:2.0.0-2.redhat_00005.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.0.1-1.redhat_00002.1.el9eap"
                        },
                        {
                            "fixed":  "0:0.1.0-2.redhat_00010.1.el9eap"
                        },
                        {
                            "fixed":  "0:1.12.284-2.redhat_00002.1.el9eap"
                        },
                        {
                            "fixed":  "0:1.2.5-2.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:800.4.0-1.GA_redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.1.0-4.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:6.2.31-1.Final_redhat_00002.1.el9eap"
                        },
                        {
                            "fixed":  "0:8.0.1-3.Final_redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:0.8.1-2.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:1.1.3-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:3.0.1-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:1.1.3-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:3.5.3-1.Final_redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:4.0.2-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:5.3.10-1.Final_redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.22.1-1.redhat_00002.1.el9eap"
                        },
                        {
                            "fixed":  "0:6.0.3-1.Final_redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:9.37.3-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:9.6.0-1.redhat_00002.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.3.0-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.0.1-3.Final_redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:3.0.1-2.Final_redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:3.0.4-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:8.0.0-6.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.0.16-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:2.2.0-1.redhat_00001.1.el9eap"
                        },
                        {
                            "fixed":  "0:8.0.4-2.GA_redhat_00005.1.el9eap"
                        },
                        {
                            "fixed":  "0:18.0.18-1.redhat_00001.1.el7sso"
                        },
                        {
                            "fixed":  "0:18.0.18-1.redhat_00001.1.el8sso"
                        },
                        {
                            "fixed":  "0:18.0.18-1.redhat_00001.1.el9sso"
                        },
                        {
                            "fixed":  "7.6-54"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "InverseAffectedRanges"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/keycloak/keycloak

Affected ranges

Type
GIT
Repo
https://github.com/keycloak/keycloak
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "22.0.12"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "23.0.0"
                },
                {
                    "fixed":  "24.0.7"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "25.0.0"
                },
                {
                    "fixed":  "25.0.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

1.*
1.0-alpha-1
1.0-alpha-1-12062013
1.0-alpha-2
1.0-alpha-3
1.0-beta-1
1.0-beta-2
1.0-beta-4
1.0-final
1.0-rc-1
1.0.0.Final
1.1.0.Beta2
1.3.0.Final
2.*
2.4.0.Test

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8883.json"