USPR-13807: bump spring-boot to 4.0.7 to resolve spring-webmvc/spring-webflux information disclosure vulnerability - #396
Open
midnight-clue[bot] wants to merge 1 commit into
Conversation
…webflux GHSA-mq64-j8f9-9gcj This resolves Dependabot alerts #117 and #118 for spring-webmvc and spring-webflux respectively. Both vulnerabilities (GHSA-mq64-j8f9-9gcj) are in Spring Framework 7.0.7 and earlier. Spring Boot 4.0.7 is the earliest 4.0.x patch release that manages Spring Framework 7.0.8+. Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com>
clue-gyg
approved these changes
Jul 31, 2026
clue-gyg
left a comment
There was a problem hiding this comment.
✅ Auto-approved as trivial change
Single-line version bump in gradle/libs.versions.toml (spring-boot 4.0.6 → 4.0.7), a version field update in a dependency manifest with no new dependencies added/removed, well within the size exception for such changes and addressing a known CVE.
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.
Context & Problem
GitHub Dependabot flagged Information Disclosure vulnerability GHSA-mq64-j8f9-9gcj (Spring Framework Information Disclosure via Static Resource Cache in Spring MVC and WebFlux) as Dependabot alerts #117 (org.springframework:spring-webmvc) and #118 (org.springframework:spring-webflux), affecting Spring Framework 7.0.0-7.0.7. Both spring-webmvc and spring-webflux are transitive dependencies pulled in via the Spring Boot BOM in this repo. See USPR-13807.
Solution
spring-webmvc and spring-webflux are managed transitively by the Spring Boot BOM (org.springframework.boot plugin + io.spring.dependency-management), whose version is declared once in
gradle/libs.versions.toml. Verified against the actual Maven Central POMs thatspring-boot-dependencies4.0.6 (previous) manages Spring Framework 7.0.7 (vulnerable), while 4.0.7 manages Spring Framework 7.0.8 (patched) — the earliest 4.0.x patch release with the fix. Bumpedspring-boot = "4.0.6"→spring-boot = "4.0.7"ingradle/libs.versions.toml. Noext['spring-framework.version']or resolutionStrategy override exists anywhere in the repo for Spring Framework, so this single-line BOM bump is the complete fix — no additional lockstep changes needed in the example modules.Verification
./gradlew :spring-boot-starter:spring-boot-starter-web:dependencies --configuration compileClasspathand:examples:example-spring-boot-starter-web:dependencies --configuration runtimeClasspath, both showing 7.0.8./gradlew :spring-boot-starter:spring-boot-starter-webflux:dependencies --configuration compileClasspathand:examples:example-spring-boot-starter-webflux:dependencies --configuration runtimeClasspath, both showing 7.0.8./gradlew testpassed (56 tasks, BUILD SUCCESSFUL)🔍 Braintrust trace