Skip to content

v0.13.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 07:20
· 95 commits to main since this release

Security

This release fixes a cross-namespace Secret exposure in the namespaced KeycloakInstance (GHSA-4rxw-9v2m-88g5, High). Users who could create a KeycloakInstance in one namespace could reference a Secret in any other namespace and have the operator send it to an attacker-controlled baseUrl. All users running v0.10.0 through v0.13.0 should upgrade.

Reported by Dohyun Park (@dhlife09), with research and validation by Seoyeon Kim (@ye11oc4t), Minseo Choi (@Dog-Parka) and Jihwan Yoon (@jiwhan8655). Thank you.

Breaking change

The optional namespace field has been removed from spec.auth.passwordGrant.secretRef, spec.auth.clientCredentials.secretRef, spec.tls.caCert.secretRef and spec.tls.caCert.configMapRef on KeycloakInstance. References always resolve in the instance's own namespace. Manifests that still set the field are accepted (the API server prunes it) but the Secret is then looked up in the instance namespace. To share credentials across namespaces, use ClusterKeycloakInstance.

What's Changed

  • chore(deps): bump the kubernetes group with 4 updates by @dependabot[bot] in #170
  • fix(role): skip the PUT when the Keycloak role already matches by @pehlert in #171

Full Changelog: v0.13.0...v0.13.1