CVE-2022-1245
keycloak: Privilege escalation vulnerability on Token Exchange
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA. Plus basse selon Red Hat (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.keycloak:keycloak-services | 18.0.0 |
Références
- 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