# Crossplane v2.3.8

2026-11-24 · [元のリリースノート](https://github.com/crossplane/crossplane/releases/tag/v2.3.8) · [全体のまとめ](https://ratatosk.io/ja/releases/crossplane/v2.3.8)

セキュリティ 2 · 破壊的変更 1 · 重大な修正 1 · 依存関係の更新 8 · その他の変更 4

## セキュリティ (2)

### スコープチェックによる namespaced XR からのクラスタースコープリソースの拒否

- 影響対象: コンポジションにクラスタースコープのリソースを含む namespaced XR

以前は、function がコンポジションで構成されたクラスタースコープのリソースに `metadata.namespace` を設定することで、スコープチェックを回避できました。

> * [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.

### [セキュリティかどうか不明] 生成 RBAC の権限付与と所有対象の複合リソース／Claim CRD の連動

- 影響対象: `CompositeResourceDefinition` リソース向けに生成される RBAC ロール

複合リソース CRD または Claim CRD が存在しない場合、あるいは定義に所有されていない場合、対応する権限付与は削除されます。2 つの CRD は個別に確認されます。空のロールは保持され、調整時に以前付与されたルールを取り消せるようになります。

> * [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.

## 破壊的変更 (1)

### Provider の `ServiceAccount` バインディングをパッケージランタイム名前空間に限定

- 影響対象: `ServiceAccount` バインディングを持つプロバイダーランタイムの `Deployment`
- 必要な対応: `--package-runtime=External` の場合、プロバイダーの `Deployment` は `ServiceAccount` バインディングのためにパッケージランタイム名前空間で実行する必要がある、または外部ランタイムがバインディングを管理する必要があること。標準的な Helm インストールでは変更不要。

RBAC マネージャーは、コントローラー参照が `ProviderRevision` と完全に一致する場合にのみ、`Deployment` の `ServiceAccount` をバインドします。

> * **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.

## 重大な修正 (1)

### ProviderRevision の RBAC バインディングを一致するランタイム Deployment に限定

- 影響対象: core Crossplane の `--namespace` で設定された名前空間内のプロバイダーランタイム

以前は、リコンサイラーは名前空間を限定せずに Deployment を一覧表示し、一致するオーナー参照の UID だけを使って ServiceAccount を選択していました。現在は、設定されたパッケージランタイムの名前空間内にある Deployment のみを対象とし、コントローラーのオーナー参照が ProviderRevision の API バージョン、種類、名前、UID と一致する場合に限り ServiceAccount を選択します。

> * [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

## 依存関係の更新 (8)

### 上流のCVE修正に対応したGo依存関係の更新

更新対象は `go-chi/chi/v5`、`go-jose/go-jose/v4`、`golang.org/x/net`、`klauspost/compress`、`golang.org/x/crypto`、`go.opentelemetry.io/otel/trace`、`crossplane-runtime` です。`crossplane-runtime` は `v2.3.6` に更新され、その他の依存関係のバージョンは明記されていません。

> * **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/go-chi/chi/v5` を v5.4.0 に更新

- [CVE-2026-114437](https://www.cve.org/CVERecord?id=CVE-2026-114437), [GHSA-j6qf-3m9c-vwj3](https://github.com/advisories/GHSA-j6qf-3m9c-vwj3)

> * 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/go-jose/go-jose/v4` の v4.1.6 への更新

- [GHSA-4w3g-jfj2-cw2q](https://github.com/advisories/GHSA-4w3g-jfj2-cw2q), [GHSA-mgcc-cww5-fp2q](https://github.com/advisories/GHSA-mgcc-cww5-fp2q), [GHSA-vvm8-gf78-28g4](https://github.com/advisories/GHSA-vvm8-gf78-28g4)

細工された RSA 鍵により、JWK の解析中にサービス拒否が発生する可能性がありました。更新により、受け入れ可能な RSA 法の上限は 4096 ビットとなり、`MaxRSAModulusBits` で上限を引き上げられます。

> * chore(deps): update vulnerable dependencies [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7982

### `golang.org/x/net` を v0.62.0 に更新

上流の問題には、HTML テキストノードの結合時に処理量が二次的に増大することと、生の HTML テキストのレンダリング時に名前空間が誤って処理されることが含まれます。

> * chore(deps): update vulnerable dependencies [security] (release-2.3) by @crossplane-renovate[bot] in https://github.com/crossplane/crossplane/pull/7982

### `github.com/klauspost/compress` を v1.20.2 に更新

- [CVE-2026-116591](https://www.cve.org/CVERecord?id=CVE-2026-116591), [GHSA-fpmh-frq8-7rj8](https://github.com/advisories/GHSA-fpmh-frq8-7rj8), [GO-2026-6865](https://osv.dev/vulnerability/GO-2026-6865)

> * 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

### `golang.org/x/crypto` を v0.59.0 に更新

- [GO-2026-5932](https://osv.dev/vulnerability/GO-2026-5932)

> * 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

### OpenTelemetry トレース依存関係の `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

ほか1件（いずれもセキュリティへの言及なし）

- `* chore(deps): bump crossplane-runtime to v2.3.6 by @jbw976 in https://github.com/crossplane/crossplane/pull/8085`

## その他の変更 (4)

- ロックファイルの更新
- `nixpkgs` の固定リビジョンを含む `flake.lock` の更新
- `flake.lock` 内の `nixpkgs-unstable` リビジョン更新
- エンドツーエンドのライフサイクルテストにおける `DeleteClaim` タイムアウトの延長

---

整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。
