CVE-2023-6291

Source
https://cve.org/CVERecord?id=CVE-2023-6291
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-6291.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-6291
Aliases
Downstream
CGA (6)
RHSA (6)
Published
2024-01-26T14:23:43Z
Modified
2026-10-24T10:36:08Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L CVSS Calculator
Summary
Keycloak: redirect_uri validation bypass
Details

A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6291.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "22.0.7-1"
                        },
                        {
                            "fixed": "22-6"
                        },
                        {
                            "fixed": "22-9"
                        },
                        {
                            "fixed": "0:18.0.11-2.redhat_00003.1.el7sso"
                        },
                        {
                            "fixed": "0:18.0.12-1.redhat_00001.1.el7sso"
                        },
                        {
                            "fixed": "0:18.0.11-2.redhat_00003.1.el8sso"
                        },
                        {
                            "fixed": "0:18.0.12-1.redhat_00001.1.el8sso"
                        },
                        {
                            "fixed": "0:18.0.11-2.redhat_00003.1.el9sso"
                        },
                        {
                            "fixed": "0:18.0.12-1.redhat_00001.1.el9sso"
                        },
                        {
                            "fixed": "7.6-38"
                        },
                        {
                            "fixed": "7.6.6-2"
                        },
                        {
                            "fixed": "7.6-41"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "InverseAffectedRanges"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/keycloak/keycloak

Affected ranges

Type
GIT
Repo
https://github.com/keycloak/keycloak
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "22.0.7"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

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/osv-test-cve-osv-conversion/osv-output/CVE-2023-6291.json"