Crossplane v2.4.4
security++++**!!!!!!
Crossplane v2.4.4 fixes a flaw where a function could make a namespaced composite resource create a cluster-scoped resource by setting metadata.namespace; the scope check now applies to every composed resource. The release also limits RBAC binding of provider ServiceAccounts to the package runtime namespace and generates RBAC roles only from owned CRDs that exist in the cluster. It also bumps several dependencies, including go-chi, go-jose, klauspost/compress, golang.org/x/crypto and otel, to pick up upstream CVE fixes.
What changes for platform teams
Platform teams running Crossplane should upgrade to pick up the scope check and narrower RBAC grants. If you use --package-runtime=External, your runtime must run provider Deployments in the package runtime namespace or manage those bindings itself.
Changes
- Dependency security updates: Bumps go-chi/chi/v5 (#7969), go-jose/go-jose/v4 and golang.org/x/net (#7983), klauspost/compress (#8020), golang.org/x/crypto (#8036), go.opentelemetry.io/otel/trace (#8047), and crossplane-runtime to v2.4.4 (#8086) to pick up upstream CVE fixes. Also refreshes the lock file (#7976, #7988).security
- Update module github.com/go-chi/chi/v5 to v5.4.0 [security] (release-2.4)security
- Update vulnerable dependencies [security] (release-2.4)security
- Update module github.com/klauspost/compress to v1.20.2 [security] (release-2.4)security
- Update module golang.org/x/crypto to v0.59.0 [security] (release-2.4)security
- Update module go.opentelemetry.io/otel/trace to v1.47.0 [security] (release-2.4)security
- 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 #8053, originally fixed in #8050.added
- 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 #8057, originally fixed in #8055.added
- 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.added
- 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 #8059, originally fixed in #8054.added
- Limit provider Deployment discovery to runtime namespacefixed
- Derive generated roles from owned CRDsfixed
1 more lines
- [release-2.4] fix(composite): check scope of every resource composed by a namespaced XRother
4 maintenance lines (dependency bumps, CI, tests, docs)
- Lock file maintenance (release-2.4)maintenance
- Lock file maintenance (release-2.4)maintenance
- Give lifecycle DeleteClaim more time after a version switchmaintenance
- Bump crossplane-runtime to v2.4.4maintenance
Full release notes ↗ · all Crossplane releases
written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules