Repository navigation
build: Gradle 9.9.1でビルド実行時の脆弱性を修正 - #30
Merged
Merged
Conversation
lambig
commented
Nov 20, 2026
lambig
left a comment
Owner
Author
There was a problem hiding this comment.
レビュー結果(HEAD 1144bd6a14bae2fa94388532127ea149ba50dc80)
判定:修正必須事項なし。マージ可能です。
変更はGradle Wrapper JAR、gradle-wrapper.properties、gradlew、gradlew.bat の4ファイルだけです。公開API、ソース、ライブラリ版(1.3.2)とTuplite依存の契約は未変更です。
- 公式Gradle 9.9.1のbin ZIP checksum
d8a18a7a841dd5df825d35a685fad6f2d7f12ac0c280e57b67c27b4a520ba228を固定し、正規Wrapper JARと同じGit blob SHA51cbd2a6f8121b2ce12daf979b128058fb9672eeです。今回レビューした共通JARの実バイトのSHA256621008afc4f5d59357fcf06ffa644dd5aade5e091bdc363742710445f73cdaf8は公式チェックサムと一致します。 - CI #44260282792 はJava 11/25双方で成功。Java 11のCI成果物ZIPを取得し、JUnit XML 35件、failure/error/skip各0を確認しました。Gradle/Maven利用側が両方通過し、gradle.logでGradle 9.9.1実起動を確認しています。
- 互換性レポートで3クラスの公開シグネチャ維持、Java 11バイトコード(55)、旧クライアント実行成功、POM/moduleのTuplite 1.0.1依存契約維持を確認しました。
追加の公開ライブラリ版の発行やABService側の条件を受入要件とせず、ビルド環境更新としてレビュー通過と判断します。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gradle 9.7.1を9.9.1へ更新し、ビルド実行時のバージョンカタログ・デーモン通信の脆弱性を修正します。ライブラリAPIやパッケージの版は変更しません。公式生成のラッパーjarと起動スクリプトを更新し、取得するGradleアーカイブのSHA-256を固定しました。
Corretto 25.0.5.1上で
./gradlew --no-daemon --console=plain buildが成功。既存の35件の試験が成功。 ラッパーjarのSHA-256も公式値と一致しました。これは候補ソースのローカル検証であり、新しいライブラリ版の公開・公開後検証は実施していません。根拠: Gradle 9.9.1の公式修正一覧。
レビューでは、修正対象がラッパーに限定され、ハッシュが公式値と一致していること、および既存CIの対象環境でビルド契約が維持されることを確認してください。