A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.
{
"cwe_ids": [
"CWE-862"
],
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1245.json"
}{
"cpe": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "keycloak versions prior to 18.0.0"
},
{
"last_affected": "keycloak versions prior to 18.0.0"
},
{
"introduced": "0"
},
{
"fixed": "18.0.0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}