a2a-java-sdk-http-client-vertxでリダイレクト先に認証情報が送られる脆弱性
概要
a2a-java-sdk-http-client-vertxの1.3.2.Finalから1.4.0.Finalまでの版では、followRedirects(true)を有効にしたとき、リダイレクト先が別のホストでもAuthorizationヘッダーを含むすべてのヘッダーが送られます。悪意のあるエージェントや乗っ取られたエージェントの応答により、認証情報が攻撃者の管理するホストへ渡るおそれがあります。修正版の有無は公表されていないため、最新の情報を確認してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
a2a-java-sdk-http-client-vertxの1.3.2.Finalから1.4.0.Finalまでの版では、followRedirects(true)を有効にしたとき、リダイレクト先が別のホストでもAuthorizationヘッダーを含むすべてのヘッダーが送られます。悪意のあるエージェントや乗っ取られたエージェントの応答により、認証情報が攻撃者の管理するホストへ渡るおそれがあります。修正版の有無は公表されていないため、最新の情報を確認してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| a2a-javaa2a-java-sdk-http-client-vertx |
1.3.2.Final 〜 1.4.0.Final→ 記載なし |
記載なし |
この記録には修正版の版が載っていません。修正版の有無と版は、本文か参照URLのベンダーの勧告で確かめてください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
The Vert.x HTTP client transport (a2a-java-sdk-http-client-vertx) hand-rolls a POST redirect follower that, when the documented PostBuilder.followRedirects(true) opt-in is enabled, re-issues the redirected request with the full request header map copied verbatim and performs no credential stripping and no same-authority check. A malicious, compromised, or mistyped agent that returns a 30x response with an absolute cross-host Location causes the client to forward the standard Authorization header (Bearer/Basic/OAuth) — plus every other header, including the allowlisted API-key headers — to the attacker-controlled authority. This breaks the project's own cross-transport invariant (SECURITY.md §8, OkHttpPostRedirectHeaderLeakTest) that credentials are stripped on cross-authority redirects even when redirects are followed. The sibling JDK and OkHttp/Android transports strip Authorization; Vert.x uniquely does not. This is a "fix introduced the bug" variant — the follower was added by the GHSA-9rhm hardening PR (3ae82912, refined by a5e76a0b).
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- web github.com