Repository navigation
build(gradle): bump Spring Boot to 4.1.3 to fix Dependabot alerts - #7
Merged
Merged
Conversation
… Dependabot alerts Spring Boot 4.1.3 manages Tomcat 11.0.27 and Jackson 2.21.8 / 3.1.8, fixing 17 alerts (3 critical Tomcat auth issues, Jackson DoS/validator issues). commons-lang3 3.16.0 (CVE-2025-48924) still comes in on the build-script classpath via spring-boot-gradle-plugin → buildpack-platform → commons-compress, so pin it to 3.20.0 with a buildscript constraint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Coverage variation | ✅ +0.00% coverage variation (-1.00%) |
| Diff coverage | ✅ ∅ diff coverage |
Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (b905d0f) 171 171 100.00% Head commit (8995b6f) 171 (+0) 171 (+0) 100.00% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#7) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
CVE-2025-48924 only affects the Spring Boot Gradle plugin's build-time classpath, never the shipped app, so the alert is dismissed instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Bumps Spring Boot 4.1.1 → 4.1.3. The patch release's managed versions fix 17 of the 18 open Dependabot alerts on
master(3 critical, 10 high, 4 medium):11.0.24→11.0.27: #84, #85, #86 (critical; includes the FORM-auth authorization bug, which matters because the app uses form login)tools.jackson.core)3.1.5→3.1.8: #89, #91, #93, #96, #98, #100, #102com.fasterxml.jackson.core)2.21.5→2.21.8: #90, #92, #94, #95, #97, #99, #101Not fixed here: #1 (commons-lang3, CVE-2025-48924)
The vulnerable
commons-lang3:3.16.0is only on the build-script classpath: the Spring Boot Gradle plugin pulls it in (buildpack-platform→commons-compress:1.27.1). It doesn't ship in the app jar or the Docker image; the app itself already uses 3.20.0. The flaw is aStackOverflowErroron very long input toClassUtils.getClass, and nothing untrusted reaches it during a build. The alert has been dismissed as "vulnerable code is not actually used" instead of pinning a dependency inside the plugin's classpath.Alternative considered
Staying on Boot 4.1.1 and overriding
tomcat.version,jackson-bom.versionandjackson-2-bom.versioninextalso resolves the same versions and builds green. I didn't choose it because it adds three overrides that must be removed later and misses the other fixes in the Boot patch release.Testing
./gradlew buildpasses (all tests plus the JaCoCo report)./gradlew dependencies --configuration testRuntimeClasspath🤖 Generated with Claude Code