USPR-13798: bump spring-boot to 4.0.7 to resolve Spring Framework multipart request smuggling (GHSA-cjpg-rgq5-fr37) - #392
Open
midnight-clue[bot] wants to merge 1 commit into
Conversation
GHSA-cjpg-rgq5-fr37) This addresses Dependabot alerts #130 (spring-webmvc) and #131 (spring-webflux) for GHSA-cjpg-rgq5-fr37 by upgrading the Spring Boot BOM to 4.0.7, which manages Spring Framework 7.0.8 (patched version; vulnerable range was >= 7.0.0, <= 7.0.7). 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 2-line version bump in gradle/libs.versions.toml (spring-boot 4.0.6 → 4.0.7) — a version-field-only update with no new dependencies added or removed, analogous to the package.json version-bump exception, applied here to patch a known CVE (GHSA-cjpg-rgq5-fr37).
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 Security Alerts #130 and #131 flag a moderate-severity Multipart Request Smuggling vulnerability (GHSA-cjpg-rgq5-fr37) in Spring Framework's spring-webmvc and spring-webflux, both pulled in transitively via the Spring Boot BOM (previously 4.0.6) in this OpenAPI validation library. The vulnerable range is >= 7.0.0, <= 7.0.7; the patch is 7.0.8. See USPR-13798.
Solution
Bumped
spring-bootingradle/libs.versions.tomlfrom4.0.6to4.0.7. Spring Boot 4.0.7 manages Spring Framework 7.0.8 (the patched version), so both spring-webmvc and spring-webflux now resolve above the vulnerable range without needing a resolutionStrategy override. Neither package is a direct dependency with an explicit version literal in this repo — both come in transitively (test/testFixtures scope) via the Spring Boot BOM platform import, so no other files needed changes.Verification
./gradlew :spring-boot-starter:spring-boot-starter-web:dependencyInsight --dependency spring-webmvc)./gradlew :test:openapi-webflux:dependencyInsight --dependency spring-webflux --configuration testFixturesCompileClasspath)./gradlew help/./gradlew tasksparse check passed🔍 Braintrust trace