CVE-2022-1245
keycloak: Privilege escalation vulnerability on Token Exchange
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA. Más baja según Red Hat (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.keycloak:keycloak-services | 18.0.0 |
Referencias
- 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