Bump Spring Boot to 3.5.16 to remediate app.war CVEs#2
Open
rychoo2 wants to merge 1 commit into
Open
Conversation
Moves the spring-boot-dependencies BOM from 3.4.10 to 3.5.16, which transitively pulls the fixed tomcat-embed-core 10.1.55 and jackson-bom 2.21.4, and fixes the spring-boot temp-file CVE. This clears all 12 Trivy findings (3 Critical, 9 High) reported in opt/app/app.war: - tomcat-embed-core 10.1.46 -> 10.1.55 CVE-2026-41293, CVE-2026-43512, CVE-2026-43515 (Critical) CVE-2026-24734, CVE-2026-24880, CVE-2026-34483, CVE-2026-41284, CVE-2026-42498, CVE-2026-43513 (High) (also covers Scout-only CVE-2026-29145, CVE-2026-34487) - jackson-databind 2.18.4 -> 2.21.x CVE-2026-54512, CVE-2026-54513 (High) - spring-boot 3.4.10 -> 3.5.16 CVE-2026-40973 (High) springdoc-openapi 2.3.0 -> 2.8.6 and swagger-annotations 2.2.20 -> 2.2.31 are required companions for Spring Boot 3.5.x compatibility. Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remediates all 12 Trivy findings (3 Critical, 9 High) in
opt/app/app.warfor theapish-converterimage. Every finding is a transitive dependency governed by thespring-boot-dependenciesBOM, so bumping the BOM fixes them in one move — no manual per-artifact overrides needed.buildSrc/src/main/kotlin/Versions.kt:springBoot3.4.10 → 3.5.16 — BOM now pinstomcat-embed-core10.1.55 andjackson-bom2.21.4, and fixes the Spring Boot temp-file CVE. (3.5.14 is not enough — it still ships Tomcat 10.1.54.)openApi(springdoc) 2.3.0 → 2.8.6 — required for Spring Boot 3.5.x compatibility (2.3.0 targets 3.2).swagger2.2.20 → 2.2.31 — aligns with springdoc 2.8.x.CVEs cleared
tomcat-embed-core 10.1.46 → 10.1.55
jackson-databind 2.18.4 → 2.21.x
spring-boot 3.4.10 → 3.5.16
Notes / scope
jodconverter4.4.7 → 4.4.9 bump discussed separately is not included here.platform()import governs them.Test plan
jodconverter/Dockerfile→./gradlew -x test :samples:spring-boot-rest:build) succeedsapish-converterimage → 0 Critical/High inapp.warPOST /lool/convert-to/pdf(docx → pdf) and confirm the OpenAPI/Swagger UI still loads (springdoc bump)Made with Cursor