fix(security): bump commons-lang3 3.17.0 -> 3.18.0 (CVE-2025-48924) - #32
Merged
Merged
Conversation
Override the Spring Boot 3.5.16 BOM-managed commons-lang3 version to clear Trivy alert CVE-2025-48924 (uncontrolled recursion). The BOM pins 3.17.0 even though swagger-core requests 3.20.0; the override + regenerated gradle.lockfile pin the fixed 3.18.0 across all classpaths. jackson-databind CVE-2026-54515 (2.21.4) is intentionally NOT addressed here: every advisory fix version is currently uninstallable (2.21.5/2.22.1 unreleased, 2.18.9 a downgrade, 3.1.4 a jackson 3.x major jump). The Spring Boot BOM will carry 2.21.5 once it ships. Co-Authored-By: Claude Opus 4.8 <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
Resolves the backend Trivy MEDIUM finding CVE-2025-48924 (uncontrolled recursion in Apache Commons Lang) surfaced in the GitHub "Security" tab (code-scanning alert #96).
commons-lang3is a transitive backend dep pinned bygradle.lockfileto the vulnerable 3.17.0. The Spring Boot 3.5.16 BOM forces 3.17.0 even thoughswagger-corerequests 3.20.0.extra["commons-lang3.version"] = "3.18.0") and regeneratedgradle.lockfile. The fixed 3.18.0 is now pinned across all classpaths../gradlew compileKotlin). CI's Trivy scan will confirm the alert clears.Deliberately NOT fixed here: jackson-databind CVE-2026-54515 (alert #95)
Every fix version the advisory names is currently uninstallable, so there is no valid bump today:
The Spring Boot BOM (via Dependabot's backend-deps group) will carry 2.21.5 once it ships. Documented inline in
build.gradle.kts.Notes
🤖 Generated with Claude Code