Skip to content
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

Closed
wants to merge 2 commits into from
Closed

fix CVE-2025-0851 #3477

wants to merge 2 commits into from

Conversation

jngz-es
Copy link
Collaborator

@jngz-es jngz-es commented Jan 31, 2025

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Signed-off-by: Jing Zhang <jngz@amazon.com>
@@ -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"
Copy link
Collaborator

@dhrubo-os dhrubo-os Jan 31, 2025

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.

Copy link
Collaborator Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Jing Zhang <jngz@amazon.com>
@jngz-es jngz-es had a problem deploying to ml-commons-cicd-env January 31, 2025 07:28 — with GitHub Actions Failure
@jngz-es jngz-es had a problem deploying to ml-commons-cicd-env January 31, 2025 07:28 — with GitHub Actions Failure
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env January 31, 2025 16:16 — with GitHub Actions Inactive
@jngz-es jngz-es had a problem deploying to ml-commons-cicd-env January 31, 2025 16:16 — with GitHub Actions Failure
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env January 31, 2025 17:40 — with GitHub Actions Inactive
@jngz-es jngz-es temporarily deployed to ml-commons-cicd-env January 31, 2025 18:40 — with GitHub Actions Inactive
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.22%. Comparing base (a6eaf08) to head (a7896d9).
Report is 2 commits behind head on main.

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     
Flag Coverage Δ
ml-commons 80.22% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jngz-es
Copy link
Collaborator Author

jngz-es commented Jan 31, 2025

Closing this pr in flavor of #3478.

@jngz-es jngz-es closed this Jan 31, 2025
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.

5 participants