GHSA-5545-r4hg-rj4m
Keycloak Path Traversal Vulnerability Due to External Control of File Name or Path
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.keycloak:keycloak-quarkus-server | < 26.0.6 | 26.0.6 |
| Maven | org.keycloak:keycloak-quarkus-server | >= 25.0.0, < 26.0.6 | 26.0.6 |
Details
As written in the advisory (Markdown source, shown as plain text).
A vulnerability was found in Keycloak. A user with high privileges could read sensitive information from a Vault file that is not within the expected context. This attacker must have previous high access to the Keycloak server in order to perform resource creation, for example, an LDAP provider configuration and set up a Vault read file, which will only inform whether that file exists or not.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5545-r4hg-rj4m
- https://nvd.nist.gov/vuln/detail/CVE-2024-10492
- https://github.com/keycloak/keycloak/issues/35215
- https://github.com/keycloak/keycloak/commit/d60cb9aaefc4035d322862edd8f9f252af6da951
- https://access.redhat.com/errata/RHSA-2024:10175
- https://access.redhat.com/errata/RHSA-2024:10176
- https://access.redhat.com/errata/RHSA-2024:10177
- https://access.redhat.com/errata/RHSA-2024:10178
- https://access.redhat.com/security/cve/CVE-2024-10492
- https://bugzilla.redhat.com/show_bug.cgi?id=2322447
- https://github.com/keycloak/keycloak