CVE-2022-1245
keycloak: Privilege escalation vulnerability on Token Exchange
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA. Niedriger laut Red Hat (mittel).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.keycloak:keycloak-services | 18.0.0 |
Referenzen
- https://access.redhat.com/security/cve/CVE-2022-1245
- https://github.com/keycloak/keycloak
- https://github.com/keycloak/keycloak/commit/76d83f46fad94ebcbedaa49e6daad458e2894e52
- https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8
- https://nvd.nist.gov/vuln/detail/CVE-2022-1245
- https://www.cve.org/CVERecord?id=CVE-2022-1245