a2a-java-sdk-http-clientでAPIキーが別の宛先に送られる脆弱性
Summary
a2a-java-sdk-http-clientのJDK HTTPクライアントで、GETとDELETEのリクエストがリダイレクト先の別の宛先へ追従し、APIキーなどの認証用ヘッダーが外部に送られるおそれがあります。影響するのは1.3.0.Finalから1.4.0.Finalまでの版です。修正版の情報は公表されていないため、最新の情報を確認してください。CVSSは7.5で、悪用の報告は見当たりません。
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.
a2a-java-sdk-http-clientのJDK HTTPクライアントで、GETとDELETEのリクエストがリダイレクト先の別の宛先へ追従し、APIキーなどの認証用ヘッダーが外部に送られるおそれがあります。影響するのは1.3.0.Finalから1.4.0.Finalまでの版です。修正版の情報は公表されていないため、最新の情報を確認してください。CVSSは7.5で、悪用の報告は見当たりません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| a2a-javaa2a-java-sdk-http-client |
1.3.0.Final – 1.4.0.Final→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The core JDK HTTP client (a2a-java-sdk-http-client) applies the GHSA-9rhm redirect-neutralization only to the POST path. JdkGetBuilder.get(), JdkGetBuilder.getAsyncSSE(), and JdkDeleteBuilder.delete() call the injected httpClient directly, with no redirect gate. An application that supplies a redirect-capable HttpClient (Redirect.NORMAL/ALWAYS) — which is the SDK-documented way to enable POST redirects — silently follows cross-authority redirects on every credentialed GET/DELETE request. The JDK strips Authorization cross-origin, but forwards the four allowlisted custom credential headers (X-API-Key, API-Key, X-Auth-Token, X-Authentication) to the attacker-controlled authority. This is an incomplete-fix variant of GHSA-9rhm: the fix hardened the default client and added a POST-only two-step opt-in, but never covered GET/DELETE.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov