[BUG] sentinel-dashboard: upgrade Spring Boot 2.5.12 -> 2.5.15 for known CVEs
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- java, spring-boot
- Área
- build-system, security
Línea de trabajo
La versión se define con la propiedad spring.boot.version en sentinel-dashboard/pom.xml, actualmente 2.5.12. Súbela a 2.5.15, luego recompila con mvn -pl sentinel-dashboard -am install -DskipTests y ejecuta mvn -pl sentinel-dashboard dependency:list -DincludeScope=runtime para confirmar que las versiones listadas coinciden con la tabla. Está terminado cuando las versiones listadas coinciden con las correcciones del aviso y el dashboard sigue compilando e iniciando en Java 8.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 23.1k
- Forks
- 8.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de alibaba/Sentinel
-
[BUG] sentinel-spring-webflux-adapter 在 Spring WebFlux 6.2.x 下触发限流时抛出 NoSuchMethodErrorPosiblemente ocupada @amalsaidov la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
[DOC] Correct method-name typo in WebMVC interceptor examplePosiblemente ocupada @vietdungnguyen2005 la tomó hace 18 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
-
README: broken Keruyun (客如云) logo image link in "Who is using" section (404)Posiblemente ocupada @525600Cloud2 la tomó hace 86 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
fix: replace printStackTrace with RecordLog in ConfigUtilQuizá libre de nuevo @yichao0824 la tomó hace 118 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Todos los issues de alibaba/Sentinel
Issues similares
-
Add contributing guidePosiblemente ocupada @WadekarPrashant la tomó hoy. Abiertogood first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
jenkinsci/gitea-checks-plugin#382 · 1 comentario ·
-
enhancement infra
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
5.0.x backport bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
spring-cloud/spring-cloud-function#1569 ·
Los mantenedores suelen responder en 1 día
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parentPosiblemente ocupada @olegz la tomó hoy. Abiertotask
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
spring-cloud/spring-cloud-stream#3355 ·
Los mantenedores suelen responder en 1 día
-
bug untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
opensearch-project/opensearch-java#2342 ·
Los mantenedores suelen responder en 1 día