[BUG] sentinel-dashboard: upgrade Spring Boot 2.5.12 -> 2.5.15 for known CVEs

未关闭 适合新手
#3,672 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@vendrov 已经在做这个了。

开始于 2026年11月1日。

  • #3673 来自 @vendrov —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
java, spring-boot

调研方向

版本由 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,确认列出的版本与表格一致。完成标准是列出的版本与安全公告的修复版本一致,并且 dashboard 在 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)
  1. mvn -pl sentinel-dashboard -am install -DskipTests
  2. mvn -pl sentinel-dashboard dependency:list -DincludeScope=runtime
  3. 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

alibaba/Sentinel 的其他 Issue

查看 alibaba/Sentinel 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。