Temporal Serverに読み取り権限でサーバー上のコマンドを実行される脆弱性
Summary
認証済みで単一ネームスペースの読み取り権限しか持たない利用者が、Temporal Serverのk8sコンピュートプロバイダー経由でWorker Serviceホスト上のコマンドを実行できる脆弱性です。影響はクラスター全体に及ぶおそれがあり、CVSS v4は8.7です。影響を受けるのは1.31.0以降1.31.5未満と1.32.0以降1.32.2未満で、1.31.5または1.32.2への更新で修正されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
認証済みで単一ネームスペースの読み取り権限しか持たない利用者が、Temporal Serverのk8sコンピュートプロバイダー経由でWorker Serviceホスト上のコマンドを実行できる脆弱性です。影響はクラスター全体に及ぶおそれがあり、CVSS v4は8.7です。影響を受けるのは1.31.0以降1.31.5未満と1.32.0以降1.32.2未満で、1.31.5または1.32.2への更新で修正されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Temporal Technologies, Inc.Temporal Server |
≥ 1.31.0, < 1.31.5→ 1.31.5 ≥ 1.32.0, < 1.32.2→ 1.32.2 |
1.31.5 1.32.2 |
Original description The description as published by the source.
Temporal Server compiles a Worker Controller Instance module, go.temporal.io/auto-scaled-workers, into its Worker Service, and that module registers a compute provider named k8s whose function is to manage workers running in a Kubernetes cluster. The k8s provider built its Kubernetes client from the client configuration supplied in the caller's request rather than from operator configuration, and building and using that client could run a command of the caller's choosing on the Worker Service host, under the account the server process runs as. Two frontend operations reach the provider. CreateWorkerDeploymentVersion requires a namespace write role. ValidateWorkerDeploymentVersionComputeConfig is registered as a read-only namespace operation, so an authenticated caller holding only a read role in a single namespace can reach the provider through it, and that route does not require a worker deployment to already exist. Execution happens while the submitted configuration is validated, so no scaling decision, task arrival, or unusual request sequence is required. Because the Worker Service process holds the persistence credentials for every namespace in the cluster and the cluster's TLS material, the consequence reaches beyond the caller's namespace to the cluster as a whole. The provider is present in the official temporal-server binaries and container images for the affected releases. The control that keeps it unreachable is the compute provider allowlist, the dynamic configura…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web cve.org
- web github.com
- web pkg.go.dev