Skip to content

USPR-13804: fix(deps): force spring-expression minimum version to 7.0.8 (GHSA-wxpp-56q6-5pcg) - #395

Open
midnight-clue[bot] wants to merge 1 commit into
mainfrom
claude/USPR-13804-spring-expression-7.0.8-fix
Open

USPR-13804: fix(deps): force spring-expression minimum version to 7.0.8 (GHSA-wxpp-56q6-5pcg)#395
midnight-clue[bot] wants to merge 1 commit into
mainfrom
claude/USPR-13804-spring-expression-7.0.8-fix

Conversation

@midnight-clue

Copy link
Copy Markdown
Contributor

Context & Problem

Dependabot alert #123 flagged spring-expression 7.0.0-7.0.7 as vulnerable to GHSA-wxpp-56q6-5pcg (Denial of Service via Unbounded Cache in SpEL, moderate severity). This package is transitively resolved to 7.0.7 via Spring Boot 4.0.6 BOM (spring-context -> spring-boot-dependencies). The vulnerability is fixed in 7.0.8. Since spring-expression is a transitive dependency only, Dependabot cannot auto-generate a PR; a manual override is required.

Solution

Forces org.springframework:spring-expression to >= 7.0.8 via a new resolutionStrategy override block in the root build.gradle, matching the existing pattern used for other transitive CVE fixes (jackson, logback, tomcat, netty). The block ensures spring-expression resolves to 7.0.8 instead of the vulnerable 7.0.7 pulled in by the Spring Boot 4.0.6 BOM.

Verification

  • Gradle syntax validates (./gradlew help -q)
  • dependencyInsight confirms spring-expression resolves to 7.0.8 with correct selection reason
  • spring-boot-starter-web tests pass
  • spring-boot-starter-webflux tests pass

🔍 Braintrust trace

…n to 7.0.8 (GHSA-wxpp-56q6-5pcg)
Force spring-expression to >= 7.0.8 via root build.gradle resolutionStrategy override to fix Dependabot alert #123. spring-expression 7.0.0-7.0.7 are transitively pulled in via Spring Boot 4.0.6 BOM and are vulnerable to GHSA-wxpp-56q6-5pcg (Denial of Service via Unbounded Cache in SpEL). The fix is available in 7.0.8.
Co-Authored-By: Catarina Correia <catarina.correia@getyourguide.com>
@gyg-pr-toolgyg-pr-toolBot changed the title fix(deps): force spring-expression minimum version to 7.0.8 (GHSA-wxpp-56q6-5pcg)USPR-13804: fix(deps): force spring-expression minimum version to 7.0.8 (GHSA-wxpp-56q6-5pcg)Jul 31, 2026
@midnight-clue
midnight-clueBot marked this pull request as ready for review July 31, 2026 12:34
@midnight-clue
midnight-clueBot requested a review from a team as a code ownerJuly 31, 2026 12:34
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@catarina-correia@claude