RATATOSK
← All releases

Crossplanev2.3.8

Security 2Breaking changes 1Important fixes 1Dependency updates 8Other changes 4

Get Crossplane alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Security2Security status unclear1

Scope checks reject cluster-scoped resources from namespaced XRs

Affectsnamespaced XRs whose compositions include cluster-scoped resources

Previously, a function could set metadata.namespace on a composed cluster-scoped resource, bypassing the scope check.

Show release-note lines
* [release-2.3] fix(composite): check scope of every resource composed by a namespaced XR by @lsviben in https://github.com/crossplane/crossplane/pull/8052
* **Namespaced XRs can no longer compose cluster scoped resources:** A function could make a namespaced XR compose a cluster scoped resource by setting `metadata.namespace` on it, because the scope check only ran on composed resources without a namespace. Crossplane now checks the scope of every resource a namespaced XR composes, based on its kind. Backported in #8052, originally fixed in #8050.
github.com/crossplane/crossplane/releases/tag/v2.3.8

Generated RBAC grants now track owned composite and claim CRDs

Security status unclear
Affectsgenerated RBAC roles for CompositeResourceDefinition resources

When a composite or claim CRD is absent or not owned by the definition, its corresponding grants are removed; the two CRDs are checked independently. Empty roles are retained so reconciliation can revoke previously granted rules.

Show release-note lines
* [Backport release-2.3] fix(rbac): derive generated roles from owned CRDs by @github-actions[bot] in https://github.com/crossplane/crossplane/pull/8058
* **Generated RBAC roles follow owned CRDs:** The RBAC manager now builds the rules in generated provider, composite, and claim `ClusterRoles` only from CRDs that exist in the cluster and are owned by the `ProviderRevision` or XRD. Rules are recomputed on every reconcile, so a resource that no longer qualifies loses its grants. Backported in #8058, originally fixed in #8054.
github.com/crossplane/crossplane/releases/tag/v2.3.8

Breaking changes1

Provider ServiceAccount bindings limited to the package runtime namespace

Affectsprovider runtime Deployments with ServiceAccount bindings
Action requiredFor --package-runtime=External, provider Deployments must run in the package runtime namespace for their ServiceAccount bindings, or the external runtime must manage those bindings; standard Helm installs need no changes.

The RBAC manager binds a Deployment's ServiceAccount only when its controller reference exactly matches the ProviderRevision.

Show release-note lines
* **Provider `ServiceAccount` binding limited to the package runtime namespace:** The RBAC manager now only watches provider runtime `Deployments` in the namespace where Crossplane runs packages, and only binds a `Deployment`'s `ServiceAccount` when its controller reference matches the `ProviderRevision` exactly. The Helm chart passes core Crossplane's namespace to the RBAC manager, so standard installs need no changes. Backported in #8056, originally fixed in #8055.
  * ⚠️ With `--package-runtime=External`, your external runtime must run provider `Deployments` in the package runtime namespace for their `ServiceAccounts` to be bound, or manage those bindings itself.
github.com/crossplane/crossplane/releases/tag/v2.3.8

Important fixes1

  • ProviderRevision RBAC bindings limited to matching runtime Deployments
    Affectsprovider runtimes in the namespace configured by core Crossplane's --namespace

    Previously, the reconciler listed Deployments without a namespace restriction and selected ServiceAccounts using only a matching owner-reference UID. It now considers Deployments only in the configured package runtime namespace and selects a ServiceAccount only when the controller owner reference matches the ProviderRevision's API version, kind, name, and UID.

    * [Backport release-2.3] fix(rbac): limit provider Deployment discovery to runtime namespace by @github-actions[bot] in https://github.com/crossplane/crossplane/pull/8056
    github.com/crossplane/crossplane/releases/tag/v2.3.8

Dependency updates8

  • Go dependencies updated for upstream CVE fixes

    The update covers go-chi/chi/v5, go-jose/go-jose/v4, golang.org/x/net, klauspost/compress, golang.org/x/crypto, go.opentelemetry.io/otel/trace, and crossplane-runtime. crossplane-runtime is updated to v2.3.6; versions for the other dependencies are not specified.

    * **Dependency security updates:** Bumps `go-chi/chi/v5` (#7968), `go-jose/go-jose/v4` and `golang.org/x/net` (#7982), `klauspost/compress` (#8019), `golang.org/x/crypto` (#8035), `go.opentelemetry.io/otel/trace` (#8046), and `crossplane-runtime` to `v2.3.6` (#8085) to pick up upstream CVE fixes. Also refreshes the lock file (#7975, #7987).
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • github.com/go-chi/chi/v5 updated to v5.4.0
    * chore(deps): update module github.com/go-chi/chi/v5 to v5.4.0 [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7968
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • github.com/go-jose/go-jose/v4 updated to v4.1.6

    Crafted RSA keys could trigger a denial of service during JWK parsing. The update caps accepted RSA moduli at 4096 bits, with MaxRSAModulusBits available to raise the limit.

    * chore(deps): update vulnerable dependencies [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7982
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • golang.org/x/net updated to v0.62.0

    The upstream issues involve quadratic work while coalescing HTML text nodes and incorrect namespace handling when rendering raw HTML text.

    * chore(deps): update vulnerable dependencies [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7982
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • github.com/klauspost/compress updated to v1.20.2
    * chore(deps): update module github.com/klauspost/compress to v1.20.2 [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/8019
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • golang.org/x/crypto updated to v0.59.0
    * chore(deps): update module golang.org/x/crypto to v0.59.0 [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/8035
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • OpenTelemetry trace dependency updated to v1.47.0
    * chore(deps): update module go.opentelemetry.io/otel/trace to v1.47.0 [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/8046
    github.com/crossplane/crossplane/releases/tag/v2.3.8
1 more, none mentioning security
  • * chore(deps): bump crossplane-runtime to v2.3.6 by @jbw976 in https://github.com/crossplane/crossplane/pull/8085
Other changes4
  • Lock file refreshed
    * **Dependency security updates:** Bumps `go-chi/chi/v5` (#7968), `go-jose/go-jose/v4` and `golang.org/x/net` (#7982), `klauspost/compress` (#8019), `golang.org/x/crypto` (#8035), `go.opentelemetry.io/otel/trace` (#8046), and `crossplane-runtime` to `v2.3.6` (#8085) to pick up upstream CVE fixes. Also refreshes the lock file (#7975, #7987).
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • flake.lock refreshed, including its locked nixpkgs revision
    * chore(deps): lock file maintenance (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7975
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • nixpkgs-unstable revision refreshed in flake.lock
    * chore(deps): lock file maintenance (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7987
    github.com/crossplane/crossplane/releases/tag/v2.3.8
  • Longer DeleteClaim timeout in end-to-end lifecycle tests
    * [Backport release-2.3] test(e2e): give lifecycle DeleteClaim more time after a version switch by @github-actions[bot] in https://github.com/crossplane/crossplane/pull/8077
    github.com/crossplane/crossplane/releases/tag/v2.3.8

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.