CVE-2022-1245
Critical
Description
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Redhat Keycloak
PublishedJul 8, 2022
First seenJul 8, 2022
Weakness typeCWE-862Missing authorization
How to fix
Update
- redhat keycloak18.0.0 or later
- org.keycloak:keycloak-services18.0.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat keycloak | v < 18.0.0 | 18.0.0 |
| org.keycloak:keycloak-servicesMaven | v < 18.0.0 | 18.0.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.