temporal-proxyに脆弱性、リクエストの名前空間経由でAPIキーが漏えいするおそれ
Summary
temporal-proxyには、リクエストの名前空間を検証せずに接続先アドレスへ埋め込む問題があり、攻撃者が任意のホストへ接続させてAPIキーを受け取れるおそれがあります。影響を受けるのは0.1.0から0.10.1、1.0.0から1.0.2未満、1.1.0から1.1.2未満、1.2.0から1.2.1未満です。修正版は1.0.2、1.1.2、1.2.1で、1.0.0より前の版には修正版がありません。使用中の系統の修正版へ更新し、信頼されない呼び出し元が到達できたAPIキーは再発行してください。
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-proxyには、リクエストの名前空間を検証せずに接続先アドレスへ埋め込む問題があり、攻撃者が任意のホストへ接続させてAPIキーを受け取れるおそれがあります。影響を受けるのは0.1.0から0.10.1、1.0.0から1.0.2未満、1.1.0から1.1.2未満、1.2.0から1.2.1未満です。修正版は1.0.2、1.1.2、1.2.1で、1.0.0より前の版には修正版がありません。使用中の系統の修正版へ更新し、信頼されない呼び出し元が到達できたAPIキーは再発行してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Temporal Technologies, Inc.temporal-proxy |
0.1.0 – 0.10.1→ Not listed ≥ 1.0.0, < 1.0.2→ 1.0.2 ≥ 1.1.0, < 1.1.2→ 1.1.2 ≥ 1.2.0, < 1.2.1→ 1.2.1 |
Not listed 1.0.2 1.1.2 1.2.1 |
Original description The description as published by the source.
A caller who can send requests to the temporal-proxy gRPC listener can obtain the static API key of an upstream whose address is templated from the request namespace, and then use that key directly against the upstream Temporal service. temporal-proxy does not validate the request namespace before rendering it into a templated upstream address, so when an upstream's hostPort is templated from the namespace, as in the published Temporal Cloud configuration example, a crafted namespace changes the host the proxy dials. If that upstream verifies TLS against the system trust store and sets no literal server name, a caller-controlled host with a publicly trusted certificate passes verification and receives the key. The built-in static-token and JWKS authenticators do not restrict namespaces, so any caller they admit can do this; an external authenticator that admits only listed namespaces prevents it. temporal-proxy versions 0.1.0 through 1.2.0 are affected. The issue is fixed in 1.0.2, 1.1.2, and 1.2.1, and releases before 1.0.0 receive no fix. Upgrade to the fixed release for the deployed minor release line, and rotate any upstream API key that untrusted callers could reach.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web pkg.go.dev
- web github.com