[BUG] sentinel-dashboard: upgrade Spring Boot 2.5.12 -> 2.5.15 for known CVEs
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- java, spring-boot
- 領域
- build-system, security
調査の方向性
バージョンは sentinel-dashboard/pom.xml の spring.boot.version プロパティで設定されており、現在は 2.5.12 です。2.5.15 に上げてから、mvn -pl sentinel-dashboard -am install -DskipTests で再ビルドし、mvn -pl sentinel-dashboard dependency:list -DincludeScope=runtime を実行して、表示されたバージョンが表と一致することを確認してください。完了の条件は、表示されたバージョンがアドバイザリの修正に一致し、ダッシュボードが Java 8 上で引き続きビルドおよび起動できることです。
索引モデルが issue の本文から書いたものです。
説明
Issue Description
sentinel-dashboard on the 1.8 branch (1.8.11-SNAPSHOT, also the 1.8.10 release) is built with Spring Boot 2.5.12 (spring.boot.version in sentinel-dashboard/pom.xml). The libraries it brings into the dashboard jar have known vulnerabilities that are fixed in 2.5.15, the last 2.5.x release. 2.5.15 still supports Java 8, like the rest of the dashboard.
Describe what happened
A dependency scan of the dashboard jar reports these advisories, fixed by 2.5.15 and the versions it manages:
| Library (2.5.12 -> 2.5.15) | Advisory | Severity |
|---|---|---|
| spring-webmvc 5.3.18 -> 5.3.27 | CVE-2023-20860 | Critical |
| spring-boot-autoconfigure 2.5.12 -> 2.5.15 | CVE-2023-20883 | High |
| spring-beans 5.3.18 -> 5.3.27 | CVE-2022-22970 | High |
| spring-context 5.3.18 -> 5.3.27 | CVE-2022-22968 | High |
| spring-expression 5.3.18 -> 5.3.27 | CVE-2023-20863 (High), CVE-2023-20861 (Moderate) | |
| tomcat-embed-core 9.0.60 -> 9.0.75 | CVE-2022-42252, CVE-2022-45143, CVE-2023-24998 | High |
| jackson-databind 2.12.6.1 -> 2.12.7.1 | CVE-2022-42003, CVE-2022-42004 | High |
Describe what you expected to happen
The dashboard ships the patched versions of its own Spring Boot line.
How to reproduce it (as minimally and precisely as possible)
mvn -pl sentinel-dashboard -am install -DskipTestsmvn -pl sentinel-dashboard dependency:list -DincludeScope=runtime- Compare the listed versions with the advisories above.
Tell us your environment
1.8 branch at a3f40ba; JDK 17 for the build; the dashboard run on Java 8 and Java 17.
Anything else we need to know?
This is a minimal, same-line upgrade. It does not fix everything: newer advisories for Tomcat 9.0.x, Spring Framework 5.3.x and Spring Boot need versions beyond the 2.5 line (Spring Boot 2.7 or 3.x), which is a larger change. A PR for the 2.5.15 bump follows.
- 主要言語
- Java
- スター
- 23.1k
- フォーク
- 8.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
alibaba/Sentinel のほかの issue
-
[BUG] sentinel-spring-webflux-adapter 在 Spring WebFlux 6.2.x 下触发限流时抛出 NoSuchMethodError対応中かも @amalsaidov が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[DOC] Correct method-name typo in WebMVC interceptor example対応中かも @vietdungnguyen2005 が 18 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
README: broken Keruyun (客如云) logo image link in "Who is using" section (404)対応中かも @525600Cloud2 が 86 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
fix: replace printStackTrace with RecordLog in ConfigUtil再び着手できるかも @yichao0824 が 118 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
alibaba/Sentinel の issue をすべて見る
似ている issue
-
Add contributing guide対応中かも @WadekarPrashant が今日担当しました。 オープンgood first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
jenkinsci/gitea-checks-plugin#382 · コメント 1 件 ·
-
enhancement infra
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
5.0.x backport bug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
spring-cloud/spring-cloud-function#1569 ·
メンテナーはふだん 1 日以内に返信
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parent対応中かも @olegz が今日担当しました。 オープンtask
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
spring-cloud/spring-cloud-stream#3355 ·
メンテナーはふだん 1 日以内に返信
-
bug untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
opensearch-project/opensearch-java#2342 ·
メンテナーはふだん 1 日以内に返信