-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-19578: Upgrade esdk-obs-java to resolve CVE-2023-3635 #7707
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
base: trunk
Are you sure you want to change the base?
HADOOP-19578: Upgrade esdk-obs-java to resolve CVE-2023-3635 #7707
Conversation
💔 -1 overall
This message was automatically generated. |
@@ -29,7 +29,7 @@ | |||
<properties> | |||
<file.encoding>UTF-8</file.encoding> | |||
<downloadSources>true</downloadSources> | |||
<esdk.version>3.20.4.2</esdk.version> | |||
<esdk.version>3.25.4</esdk.version> |
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.
[ERROR] Dependency convergence error for com.squareup.okio:okio:jar:3.6.0 paths to dependency are:
[ERROR] +-org.apache.hadoop:hadoop-huaweicloud:jar:3.5.0-SNAPSHOT
[ERROR] +-com.huaweicloud:esdk-obs-java:jar:3.25.4:compile
[ERROR] +-com.squareup.okhttp3:okhttp:jar:4.12.0:compile
[ERROR] +-com.squareup.okio:okio:jar:3.6.0:compile
[ERROR] and
[ERROR] +-org.apache.hadoop:hadoop-huaweicloud:jar:3.5.0-SNAPSHOT
[ERROR] +-com.huaweicloud:esdk-obs-java:jar:3.25.4:compile
[ERROR] +-com.squareup.okio:okio:jar:3.8.0:compile
We need to resolve this compilation error.
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.
@slfan1989 this is an internal dependency "issue" with the esdk-obj-java
library -
It uses OkHttp 4.12.0 which declares OkIo 3.6.0,
But it also uses OkIo 3.8.0 directly, overriding OkHttp's version of choice.
If this discrepancy is contained within a single (and external) part of the dependency tree, can this warning be suppressed?
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.
the pom dependency declarations will need to explicitly exclude the 3.6 versoin; look for the many other uses of to see this in use
c3f593b
to
c4c7bfa
Compare
c4c7bfa
to
1027e19
Compare
💔 -1 overall
This message was automatically generated. |
Description of PR
Upgrade esdk-obs-java (in hadoop-huaweicloud) to resolve CVE-2023-3635
How was this patch tested?
Ran existing tests.
For code changes: