Skip to content

fix(security): bump commons-lang3 3.17.0 -> 3.18.0 (CVE-2025-48924) - #32

Merged
WolfTasks merged 1 commit into
mainfrom
worktree-fix+trivy-cve-jackson-commonslang
Jul 4, 2026
Merged

fix(security): bump commons-lang3 3.17.0 -> 3.18.0 (CVE-2025-48924)#32
WolfTasks merged 1 commit into
mainfrom
worktree-fix+trivy-cve-jackson-commonslang

Conversation

@WolfTasks

Copy link
Copy Markdown
Owner

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-lang3 is a transitive backend dep pinned by gradle.lockfile to the vulnerable 3.17.0. The Spring Boot 3.5.16 BOM forces 3.17.0 even though swagger-core requests 3.20.0.
  • Added a BOM version override (extra["commons-lang3.version"] = "3.18.0") and regenerated gradle.lockfile. The fixed 3.18.0 is now pinned across all classpaths.
  • Main sources compile clean (./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:

Advisory fix Status
2.21.5 not released (latest 2.21.x is 2.21.4)
2.22.1 not released (latest is 2.22.0, itself still vulnerable)
2.18.9 older line — a downgrade from 2.21
3.1.4 jackson 3.x major — incompatible with Spring Boot 3.5's jackson 2.x

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

  • Neither CVE fails CI — the blocking Trivy gate is HIGH,CRITICAL; these MEDIUMs are visible-but-non-blocking by design.
  • CodeQL alert Nightly security scan failed (2026-07-26) #97 (disabled CSRF) was separately dismissed as a false positive (header-token auth).

🤖 Generated with Claude Code

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>
@WolfTasks
WolfTasks merged commit bd1359d into main Jul 4, 2026
11 checks passed
@WolfTasks
WolfTasks deleted the worktree-fix+trivy-cve-jackson-commonslang branch July 4, 2026 07:33
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