-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[DNR] Upgraded version : io.netty:netty-common:4.1.115.Final #24175
base: master
Are you sure you want to change the base?
Conversation
71ba04c
to
4f3db76
Compare
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 see most of the drift dependencies are at 4.1.107.Final
which is getting set from https://github.com/prestodb/drift/blob/master/pom.xml
I think it would be better to handle these dependencies version from shaded jar? It would help resolving CVEs for all the related dependency instead of handling it here for each artifect.
Thanks for the suggestion @agrawalreetika , I noticed that most of the Drift dependencies are set to 4.1.107.Final as per the Drift pom.xml. I agree that managing versions through a shaded JAR is a good approach for better dependency management, particularly for resolving CVEs and preventing version conflicts. I'll proceed with the changes as you suggested. |
@tdcmeehan What are your thoughts around this, resolving drift related cves directly in the shaded jar? |
Can you help me understand how a shaded JAR will help? Why not just update the version within Drift without shading? |
I am sorry, my mistake. I mean updating the drift dependency in drift repo and updating its version in presto pom. Instead of directly updating those drift dependency in Presto directly. |
Oh, then agreed--let's fix it in Drift first. |
8ff015f
to
638f8b8
Compare
8f51165
to
e41dcb4
Compare
578c628
to
e41dcb4
Compare
1148d06
to
b748d3a
Compare
73b9cb3
to
6a86c79
Compare
-prestodb/drift pr : prestodb/drift#54 -Resolved presto-druid module error -Resolving issues related to maven checks -Ignored Specific duplicate resouces explicitly related to com/github/rvesse/airline/core.version -Fix: Replace deprecated io.netty:netty with io.netty:netty-all version 4.1.115.Final
6a86c79
to
1eb1e58
Compare
Description
2 Medium cve got resolved
Motivation and Context
About CVE-2024-47535
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. An unsafe reading of environment file could potentially cause a denial of service in Netty. When loaded on an Windows application, Netty attempts to load a file that does not exist. If an attacker creates such a large file, the Netty application crashes. This vulnerability is fixed in 4.1.115.
Impact
2 Medium cve got resolved.
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.