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

HIVE-25054: (2.3) Upgrade jodd-core dependency to get rid of CVE-2018-21234 #4923

Closed
wants to merge 2 commits into from

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Dec 7, 2023

What changes were proposed in this pull request?

Backport HIVE-25054 to branch-2.3, to address CVE-2018-21234.

Why are the changes needed?

jodd CVE is listed in https://issues.apache.org/jira/browse/SPARK-44757 in first place, with score 9.8.

Although I prefer to get rid of such dependency by #4888, but it is objected by the Hive community (please let me know if we can do it in branch-2.3)

Does this PR introduce any user-facing change?

No. (but the jodd APIs used by Hive are changed, it's a potential breaking change of the downstream project which consumes Hive and jodd API directly)

Is the change a dependency upgrade?

Yes, the upgraded jar has zero-deps, but itself name changed

How was this patch tested?

Pass GA.

@pan3793
Copy link
Member Author

pan3793 commented Dec 7, 2023

cc @sunchao @LuciferYang @wangyum

Copy link

github-actions bot commented Feb 7, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.

@pan3793
Copy link
Member Author

pan3793 commented Feb 20, 2024

Although I prefer to get rid of such dependency by #4888, but it is objected by the Hive community (please let me know if we can do it in branch-2.3)

the reason for my preference of copying rather than upgrading jodd is, that new jodd changed the calculation to use Java 8 Time API, I'm not sure if this will bring behavior change or not.

achennagiri and others added 2 commits March 5, 2024 01:54
… (Abhay Chennagiri, reviewed by Jesus Camacho Rodriguez)

Closes apache#2217
@pan3793
Copy link
Member Author

pan3793 commented Mar 26, 2024

Close and in favor #5151

@pan3793 pan3793 closed this Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants