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

FINERACT-2089 Upgrade java dependencies/libraries #3906

Merged
merged 1 commit into from
May 30, 2024
Merged

FINERACT-2089 Upgrade java dependencies/libraries #3906

merged 1 commit into from
May 30, 2024

Conversation

IOhacker
Copy link
Contributor

@IOhacker IOhacker commented May 29, 2024

Description

FINERACT-2089 Upgrade java dependencies/libraries

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Write the commit message as per https://github.com/apache/fineract/#pull-requests

  • Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

  • Create/update unit or integration tests for verifying the changes made.

  • Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

  • Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

  • Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@IOhacker IOhacker changed the title Upgrade java dependencies/libraries FINERACT-2089 Upgrade java dependencies/libraries May 29, 2024
@IOhacker
Copy link
Contributor Author

@jdailey

@@ -68,7 +68,7 @@ dependencyManagement {
exclude 'org.codehaus.groovy:groovy'
}
dependency 'org.apache.commons:commons-csv:1.10.0'
dependency 'org.quartz-scheduler:quartz:2.3.2'
dependency 'org.quartz-scheduler:quartz:2.5.0-rc1'
Copy link
Contributor

Choose a reason for hiding this comment

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

i dont think we should use RC version. I am not convinced the CVE is effecting us. I am still digesting it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

About Quartz library I can see that they have not released any security fix and project seems to be abandoned

quartz-scheduler/quartz#1134

Anyway the last version is 2.5.0-rc1, so then the question is;

Should we use a Release Candidate version? If not should we keep using a library version released in 2019 ?

Copy link
Contributor

Choose a reason for hiding this comment

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

quartz-scheduler/quartz#943

We dont have quartz-job artifact, neither the class thats the CVE is talking about.

I dont think the reported CVE applies to us...

You might wanna discuss internally what steps we should do.
@vidakovic Any thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comments about the issue quartz-scheduler/quartz#943 for now I have rollbacked to the original version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jdailey @vidakovic @adamsaghy I think this should be a false positive. Anyway the Quartz library maintenance/very low activity is a red flag, becaue the library now seems abandoned.

@jdailey
Copy link
Contributor

jdailey commented May 30, 2024

Can we remove quartz dependency? For now, let's keep the quartz dependency "as is" and make a note that this CVE doesn't apply. But didn't we already deprecate the quartz when we implemented Spring Batch and the COB concepts?

Copy link
Contributor

@jdailey jdailey left a comment

Choose a reason for hiding this comment

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

LGTM , minor dependency upgrades ... I'll assume backward compatibility until proven wrong.

@adamsaghy
Copy link
Contributor

Can we remove quartz dependency? For now, let's keep the quartz dependency "as is" and make a note that this CVE doesn't apply. But didn't we already deprecate the quartz when we implemented Spring Batch and the COB concepts?

No, quartz is used for scheduling the jobs. if we wanna remove, we need to have something to take care of scheduling.

@IOhacker IOhacker merged commit be76613 into apache:develop May 30, 2024
9 checks passed
wkigenyi pushed a commit to wkigenyi/fineract that referenced this pull request Oct 8, 2024
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.

3 participants