-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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][sec] Drop hdfs2 support, Upgrade hadoop3 to 3.4.0 and dnsjava to 3.6.2 to address CVE-2024-25638 #23411
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #23411 +/- ##
============================================
+ Coverage 73.57% 74.25% +0.67%
- Complexity 32624 34357 +1733
============================================
Files 1877 1940 +63
Lines 139502 146889 +7387
Branches 15299 16176 +877
============================================
+ Hits 102638 109069 +6431
- Misses 28908 29391 +483
- Partials 7956 8429 +473
Flags with carried forward coverage won't be shown. Click here to find out more. |
It looks like we need to wait for Hadoop 3.4.1 release to complete: https://issues.apache.org/jira/browse/HADOOP-19237 |
"Exclude the META-INF/services/java.net.spi.InetAddressResolverProvider from your project" is mentioned as a workaround in dnsjava/dnsjava#338. Related Hadoop PR https://github.com/apache/hadoop/pull/7070/files . I guess that there might be ways to exclude and disable dnsjava too. However Hadoop 3.4.1 release would be useful. |
Let's wait for Hadoop 3.4.1 release that is in voting: https://lists.apache.org/thread/6dshj3nb26mlhzhmd8xkmw78l3zk896t |
…o 3.6.2 to address CVE-2024-25638 (#23411)
…o 3.6.2 to address CVE-2024-25638 (#23411) (cherry picked from commit d5e3675)
- removed in Pulsar 4.0.0 wih apache/pulsar#23411
Motivation
In pulsar-io connectors, Hadoop 2 and Hadoop 3 versions before 3.4.0 depend on dnsjava 2.1.7 which is outdated and contains CVE-2024-25638 .
Upgrading dnsjava 2.1.7 to dnsjava 3.6.x isn't possible directly since dnsjava 3.x API isn't compatible with dnsjava 2.1.x API. dnsjava dependency has been excluded in this PR since hadoop 3.4.1 isn't released yet.
Modifications
Documentation
doc
doc-required
doc-not-needed
doc-complete