-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix CVE-2025-0851 #3477
fix CVE-2025-0851 #3477
Conversation
Signed-off-by: Jing Zhang <jngz@amazon.com>
plugin/build.gradle
Outdated
@@ -417,6 +417,8 @@ configurations.all { | |||
resolutionStrategy.force "org.apache.logging.log4j:log4j-api:2.24.2" | |||
resolutionStrategy.force "org.apache.logging.log4j:log4j-core:2.24.2" | |||
resolutionStrategy.force "jakarta.json:jakarta.json-api:2.1.3" | |||
resolutionStrategy.force "com.google.code.gson:gson:2.11.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other modules are using 2.10.1
. Should we upgrade all of them? Having two different versions in the same project doesn't make enough sense to me.
Also in this file, we have gson in line 84 with 2.10.1, may be we can remove this?
Otherwise we will keep adding versions this way, which is not a clean code IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, agree. Let me upgrade all to 2.11.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was suggesting something like this: https://github.com/opensearch-project/ml-commons/pull/3478/files
Signed-off-by: Jing Zhang <jngz@amazon.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3477 +/- ##
============================================
- Coverage 80.24% 80.22% -0.03%
+ Complexity 6904 6902 -2
============================================
Files 610 610
Lines 30081 30076 -5
Branches 3370 3368 -2
============================================
- Hits 24139 24127 -12
- Misses 4491 4497 +6
- Partials 1451 1452 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Closing this pr in flavor of #3478. |
Description
[Describe what this change achieves]
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.