-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-29253:bump netty version to 4.1.127.Final due to CVE-2025-58057 … #6121
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
Conversation
@deniskuzZ can you please review it |
Netty 4.2.6.Final is the latest release. Could it worth to upgrade to that release? |
Hadoop trunk is also at netty 4.1.127 according to https://issues.apache.org/jira/browse/HADOOP-19689?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel. |
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.
+1
I'm ok with the changes in current PR. I just want to hightlight that the following jars with older version are also getting shipped. It is irrespective of this PR.
|
@Aggarwal-Raghav, thanks for validating this! In this case PR is not complete. @ramitg254 could you please make sure we don't bring multiple versions of netty dependencies
mvn dependency:tree | grep 'netty-all' | grep '4.1' | grep -v 'optional' | grep -v ':test' | sed -E 's/.io.netty:netty-all:jar:([0-9.]+.Final):./\1/' | sort -u
|
12862a6
to
b206e90
Compare
dependency-tree.txt
Also I think option 1 is more suitable as we already have |
Why it was necessary to pull netty into standalone-metastore and storage-api? |
In these modules due to presence of :
in place of :
It’s not inheriting the dependency management rules defined in the project’s POM, so they need to be added explicitly |
LGTM. Please do not forget to squash the commits. |
…VE-2025-58056 enforced netty version to transitive dependencies
b206e90
to
940daba
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.
+1
…CVE-2025-58056
What changes were proposed in this pull request?
netty version upgrade to 4.1.127.Final to fix cves
Why are the changes needed?
current netty version is suffering from cves
Does this PR introduce any user-facing change?
No
How was this patch tested?
local build