A2A Java SDKでリダイレクト時にAPIキーが別の宛先へ漏えいする
概要
A2A Java SDKのAndroid向けHTTPクライアントで、リダイレクト無効の設定が無視され、設定済みのAPIキーやトークンが別のオリジンへ送られて漏えいするおそれがあります。影響を受けるのは1.3.0.Finalから1.3.2.Final未満のバージョンです。1.3.2.Final以降に更新してください。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
A2A Java SDKのAndroid向けHTTPクライアントで、リダイレクト無効の設定が無視され、設定済みのAPIキーやトークンが別のオリジンへ送られて漏えいするおそれがあります。影響を受けるのは1.3.0.Finalから1.3.2.Final未満のバージョンです。1.3.2.Final以降に更新してください。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| maven | org.a2aproject.sdk:a2a-java-sdk-http-client-android |
1.3.0.Final 以上 1.3.2.Final 未満 |
1.3.2.Final |
| a2aproject | a2a-java | — | — |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
A2A Java SDK is the official Java SDK for the Agent2Agent (A2A) Protocol. Starting in version 1.3.0.Final and prior to version 1.3.2.Final, the AndroidA2AHttpClient synchronous POST path overrides the disabled-redirect setting in AndroidA2AHttpClient.createConnection() with the PostBuilder default followRedirects value of true, leaving a residual of the earlier credential-redirect fix. JSONRPCTransport and RestTransport add interceptor-produced authentication headers and call synchronous post() without disabling redirects. AuthInterceptor permits X-API-Key, API-Key, X-Auth-Token, and X-Authentication headers; Android's repackaged OkHttp strips Authorization on cross-authority redirects but retains these nonstandard headers, disclosing a complete configured API key or token to another authority. The additional exposure applies when redirect or front-door behavior is compromised separately from the credential-handling component, or those components operate in different trust domains; a completely malicious initial origin already receives the credential on the first request. Autonomous clients require no human action, while user-invoked workflows can require interaction. Explicit followRedirects(false) prevents the redirected request. The demonstrated impact is credential disclosure, not subsequent credential use, integrity or availability impact, code execution, or host compromise. This issue is fixed in version 1.3.2.Final.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com