Skip to content

fix(deps): patch Dependabot alerts - #16

Merged
naji247 merged 1 commit into
mainfrom
meowbot/dependabot-fixes
Nov 27, 2026
Merged

naji247 merged 1 commit into
mainfrom
meowbot/dependabot-fixes

Conversation

@meowbot-agent

@meowbot-agent meowbot-agent Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Cause

The POM pins the Spring WebMVC and WebFlux test dependencies to vulnerable version 6.2.6.
The four critical alerts have no Spring 6.2 patch, but their advisories identify Spring 7.0.9 as patched.

Evidence

GitHub advisory data read on 2026-11-27 identifies 7.0.9 as the first patched Spring 7 release for GHSA-9qf2-26p9-2q2q, GHSA-j9f9-w8pj-32f8, and GHSA-pc63-qcmh-9cmg.
Maven Central publishes Spring Boot 4.0.8 with Spring Framework 7.0.9 dependencies.
The Maven dependency tree at 2026-11-27T01:24:27Z resolves WebMVC, WebFlux, spring-test, and the other Spring Framework modules to 7.0.9.

Change

  • Update spring-webmvc, spring-webflux, and spring-test from 6.2.6 to 7.0.9.
  • Update optional spring-boot-autoconfigure from 3.4.5 to 4.0.8 to keep its Spring Framework dependencies on the same generation.
  • Record the Spring generation change in the changelog. WebMVC, WebFlux, and spring-test remain test-only dependencies.

Alerts addressed:

  • #29: org.springframework:spring-webflux → 7.0.9.
  • #28: org.springframework:spring-webmvc → 7.0.9.
  • #27: org.springframework:spring-webflux → 7.0.9.
  • #26: org.springframework:spring-webmvc → 7.0.9.
  • #20: org.springframework:spring-webmvc → 7.0.9.
  • #17: org.springframework:spring-webflux → 7.0.9.
  • #16: org.springframework:spring-webmvc → 7.0.9.

Verification

Local runs used Corretto 17.0.21.1 and Maven 3.9.9:

  • mvn --batch-mode --no-transfer-progress dependency:tree '-Dincludes=org.springframework:*,org.springframework.boot:*,jakarta.servlet:*': passed, all Spring Framework modules resolve to 7.0.9.
  • mvn --batch-mode --no-transfer-progress clean verify: passed, 1,187 tests and one integration test, zero failures, errors, or skips.
  • mvn --batch-mode --no-transfer-progress clean compile followed by mvn --batch-mode --no-transfer-progress test -Pmcp-1x: passed, 14 tests.
  • mvn --batch-mode --no-transfer-progress clean compile followed by mvn --batch-mode --no-transfer-progress test -Pmcp-018x: passed, 14 tests.
  • mvn --batch-mode --no-transfer-progress clean package -P release,mcp-2.0.1 -DskipTests -Dgpg.skip: passed, unsigned release artifacts built without publication.
  • git diff --check: passed.

The full local suite logged a Surefire fork-shutdown timeout after all tests passed, then completed with BUILD SUCCESS.
The runs also logged a JBoss LogManager initialization diagnostic.
The repository defines no separate type-check or lint commands beyond Maven compilation and its build lifecycle.
GitHub CI run 45923017375 passed on commit 3027a46: Java 17, 21, and 25, both MCP compatibility profiles on all three Java versions, SDK change detection, and the release build.
CodeQL analysis also passed.

Thread

No Slack permalink was supplied with this task.

Spring 6.2 has no patch for alerts #26-29. Upgrade the test modules to the advisory-patched 7.0.9 release and align optional Boot dependencies. Also resolves alerts #16, #17, and #20.
@naji247
naji247 merged commit 0dc0750 into main Nov 27, 2026
14 checks passed
@naji247
naji247 deleted the meowbot/dependabot-fixes branch November 27, 2026 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant