[BUG] sentinel-dashboard: upgrade Spring Boot 2.5.12 -> 2.5.15 for known CVEs
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 62/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- java, spring-boot
- Ambito
- build-system, security
Direzione di ricerca
La versione è impostata dalla proprietà spring.boot.version in sentinel-dashboard/pom.xml, attualmente 2.5.12. Aggiornala a 2.5.15, poi ricompila con mvn -pl sentinel-dashboard -am install -DskipTests ed esegui mvn -pl sentinel-dashboard dependency:list -DincludeScope=runtime per confermare che le versioni elencate corrispondano alla tabella. È completato quando le versioni elencate corrispondono alle correzioni degli advisory e la dashboard continua a compilarsi e avviarsi su Java 8.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 23.1k
- Fork
- 8.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di alibaba/Sentinel
-
[BUG] sentinel-spring-webflux-adapter 在 Spring WebFlux 6.2.x 下触发限流时抛出 NoSuchMethodErrorForse già presa @amalsaidov l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
[DOC] Correct method-name typo in WebMVC interceptor exampleForse già presa @vietdungnguyen2005 l’ha presa 18 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
-
README: broken Keruyun (客如云) logo image link in "Who is using" section (404)Forse già presa @525600Cloud2 l’ha presa 86 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
fix: replace printStackTrace with RecordLog in ConfigUtilForse di nuovo libera @yichao0824 l’ha presa 118 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di alibaba/Sentinel
Issue simili
-
Add contributing guideForse già presa @WadekarPrashant l’ha presa oggi. Apertagood first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
jenkinsci/gitea-checks-plugin#382 · 1 commento ·
-
enhancement infra
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
5.0.x backport bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
spring-cloud/spring-cloud-function#1569 ·
I maintainer di solito rispondono entro 1 giorno
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parentForse già presa @olegz l’ha presa oggi. Apertatask
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
spring-cloud/spring-cloud-stream#3355 ·
I maintainer di solito rispondono entro 1 giorno
-
bug untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
opensearch-project/opensearch-java#2342 ·
I maintainer di solito rispondono entro 1 giorno