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

Đang mở Phù hợp với người mới
#3,672 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@vendrov đang làm issue này rồi.

Từ ngày 1/11/2026.

  • #3673 của @vendrov — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
62/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, spring-boot
Lĩnh vực
build-system, security

Hướng nghiên cứu

Phiên bản được đặt bởi thuộc tính spring.boot.version trong sentinel-dashboard/pom.xml, hiện là 2.5.12. Nâng lên 2.5.15, sau đó build lại bằng mvn -pl sentinel-dashboard -am install -DskipTests và chạy mvn -pl sentinel-dashboard dependency:list -DincludeScope=runtime để xác nhận các phiên bản được liệt kê khớp với bảng. Hoàn thành khi các phiên bản được liệt kê khớp với các bản vá trong advisory và dashboard vẫn build và khởi động được trên Java 8.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
23.1k
Fork
8.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của alibaba/Sentinel

Tất cả issue của alibaba/Sentinel

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.