Review Java4Shell CVE-2026-114938 runtime guidance and Base64 mapper path

未關閉
#1,351 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
18/100
Issue 類型
文件
描述清晰度
需要釐清
活躍度
活躍
技術堆疊
grpc, java

研究方向

Start with the Base64 decode call in spec-grpc/src/main/java/org/a2aproject/sdk/grpc/mapper/PartMapper.java, in toProto, and trace whether peer-controlled FileWithBytes data can reach it in supported server flows. The issue asks maintainers to decide whether any SDK documentation or code review action is needed, so a newcomer should not start a patch before that is settled. Done means a maintainer-confirmed answer on reachability and on whether the docs should mention the patched-runtime requirement.

由索引模型根據 Issue 內容生成。

描述

Summary

CVE-2026-114938 (Java4Shell) is reported in vulnerable HotSpot JDK builds' native Base64 decoder. The fix is a vendor-patched Java runtime; the A2A Java SDK does not bundle a JDK, so an SDK artifact release alone cannot patch affected runtimes.

I noticed the current SDK main has a Base64 decode call in spec-grpc/src/main/java/org/a2aproject/sdk/grpc/mapper/PartMapper.java (toProto). Could maintainers confirm whether peer-controlled FileWithBytes can reach this mapper in supported server/application flows, and whether the SDK documentation should call out the patched-runtime requirement?

This is a request for maintainer review, not a claim that the SDK itself is vulnerable. Applicability depends on the JDK build, architecture/CPU features, intrinsic configuration, and whether attacker-controlled bytes reach the decoder. The Spring integration's 0.2.0 path is JSON-RPC/SSE and does not use this gRPC mapper; its guidance is being handled separately.

References

Please advise whether any SDK-level documentation or code review action is appropriate beyond recommending users update their Java runtime to a vendor-fixed build.

主要語言
Java
星號
516
分支
205
平均合併
2 天 22 小時
30 天內合併 PR
78

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

a2aproject/a2a-java 的其他 Issue

查看 a2aproject/a2a-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。