chore: replace commons-lang with commons-lang3 due to vulnerability#460
chore: replace commons-lang with commons-lang3 due to vulnerability#460simaysanli wants to merge 1 commit into
Conversation
|
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (22)
📝 WalkthroughSummaryThis pull request updates the project to use Apache Commons Lang 3 (version 3.18.0) in place of the legacy Apache Commons Lang 2 library. The migration involves updating dependencies and imports throughout the codebase. ChangesDependency Updates:
Import Updates:
Specifically, the following utility class imports were updated:
All existing code logic and method usage remain unchanged, as the Commons Lang 3 library provides compatible implementations of these utility classes. Impact
WalkthroughThe pull request migrates the charon project from Apache Commons Lang 2 ( 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Purpose
Problem is related to CVE-2025-48924. The
org.wso2.charonhas latest version ofcommons-langis v2.6 as seen in this maven repository. It causes a vulnerability. I saw that similar issue is also reported with this issue related tocommons-langversion.The issue is already reported in this link
Goals
The commons-lang is replaced with commons-lang3 v3.18.0 to fix security vulnerability
Approach
The usages of commons-lang are replaced with commons-lang3 in all files
User stories
Developer Checklist (Mandatory)
product-isissue to track any behavioral change or migration impact.Release note
Documentation
Training
Certification
Marketing
Automation tests
Security checks
Samples
Related PRs
Migrations (if applicable)
Test environment
Learning