USPR-13806: bump spring-boot to 4.0.7 to fix spring framework dos vulnerability - #399
Open
midnight-clue[bot] wants to merge 1 commit into
Open
USPR-13806: bump spring-boot to 4.0.7 to fix spring framework dos vulnerability#399midnight-clue[bot] wants to merge 1 commit into
midnight-clue[bot] wants to merge 1 commit into
Conversation
….8 (GHSA-x23c-287f-qqv5) Spring Boot 4.0.6 manages Spring Framework 7.0.7, which is vulnerable to a Denial of Service issue in versioned resource handling in Spring MVC and WebFlux (GHSA-x23c-287f-qqv5, Dependabot alerts #119 and #120). Spring Boot 4.0.7 upgrades the managed Spring Framework version to the patched 7.0.8. Co-Authored-By: Catarina Pinheiro 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) to patch a known DoS vulnerability; no new dependencies added/removed, well under size limit, matches the version-field-update exception for dependency manifests.
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 a HIGH severity Denial of Service vulnerability (GHSA-x23c-287f-qqv5) in Spring Framework's handling of versioned resources in Spring MVC and WebFlux, affecting versions 7.0.0-7.0.7 (Dependabot alerts #119 and #120). The vulnerable
org.springframework:spring-webmvcandorg.springframework:spring-webfluxjars are not declared directly in this repo — they are pulled in transitively via the Spring Boot Gradle plugin's dependency management (spring-boot = "4.0.6"ingradle/libs.versions.toml). See USPR-13806.Solution
Bumped
spring-bootfrom4.0.6to4.0.7ingradle/libs.versions.toml. Spring Boot 4.0.7 upgrades its managed Spring Framework version to7.0.8(the patched version — see Spring Boot 4.0.7 release notes: "Upgrade to Spring Framework 7.0.8"). This is a single-line, config-only fix: the repo has an existing convention for pinning transitive security fixes viaresolutionStrategy.eachDependencyoverrides in rootbuild.gradle(used for Jackson, Logback, Tomcat, Netty), but that pattern wasn't needed here since Spring Framework's version is fully controlled by the Spring Boot BOM. Confirmed the BOM bump doesn't conflict with any existing resolutionStrategy floors: Spring Boot 4.0.7 also upgrades to Logback 1.5.34 and Tomcat 11.0.22 (both exactly matching the existing floors), and Netty 4.2.15.Final (below the existing 4.2.16.Final floor, but the existing override already forces that up regardless of the BOM value).Verification
org.springframework:spring-webmvcresolves to >= 7.0.8 (./gradlew :spring-boot-starter:spring-boot-starter-web:dependencies --configuration compileClasspathshowsorg.springframework:spring-webmvc:7.0.8, up from7.0.7)org.springframework:spring-webfluxresolves to >= 7.0.8 (./gradlew :spring-boot-starter:spring-boot-starter-webflux:dependencies --configuration compileClasspathshowsorg.springframework:spring-webflux:7.0.8, up from7.0.7)./gradlew checkstyleMain checkstyleTest pmdMain pmdTest testpassed (BUILD SUCCESSFUL, 92 tasks)🔍 Braintrust trace