-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-52803][BUILD] Update aws-java-sdk-sts
to 1.12.720 in kinesis-asl
module
#51498
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: master
Are you sure you want to change the base?
Conversation
Upgrading aws-java-sdk-s3 from 1.11.655 to 1.12.261 resolves the following vulnerability https://osv.dev/vulnerability/GHSA-c28r-hw5m-5gv3
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.
Thank you, @eschcam . However, please follow HADOOP-19172 instead of 1.12.261
.
The PR title and description is outdated, @eschcam . |
785898b
to
a49de95
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 was taking the package name from OSV Scanner. I believe it was detected as part of aws-java-sdk-sts |
Then, why do you mention
|
I guess saying I honestly didn't realise aws-java-sdk-s3 wasn't used in the project |
It's only |
a49de95
to
9bae3d5
Compare
aws-java-sdk-sts
to 1.12.720 in kinesis-asl
module
@@ -158,7 +158,7 @@ | |||
<avro.version>1.12.0</avro.version> | |||
<aws.kinesis.client.version>1.12.0</aws.kinesis.client.version> | |||
<!-- Should be consistent with Kinesis client dependency --> | |||
<aws.java.sdk.version>1.11.655</aws.java.sdk.version> | |||
<aws.java.sdk.version>1.12.720</aws.java.sdk.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.
Oh, could you double-check that this is consistent with Kinesis
client dependency? The line 160 show a requirement for kinesis-asl
module.
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.
Version 1.15.3 of amazon-kinesis-client seems to use version 1.12.681 of the aws-java-sdk libs https://mvnrepository.com/artifact/com.amazonaws/amazon-kinesis-client/1.15.3
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 more recent versions of the client appear to use the V2 versions of the SDK https://mvnrepository.com/artifact/software.amazon.kinesis/amazon-kinesis-client/3.1.1
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 double-checked the pom file. Unfortunately, it seems that we cannot change this dependency while we are using aws-kinesis-client 1.12.0.
<aws.kinesis.client.version>1.12.0</aws.kinesis.client.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.
Would updating aws-kinesis-client to 1.15.3 and aws-java-sdk-sts to 1.12.681 be okay?
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.
AFAIK, it requires a manual testing for this module. Can you verify it with the real AWS Kinesis? Unfortunately, there were a few attempts on this module but nobody verified their updates with the real AWS Kinesis. That's the reason why this module is sitting on AWS SKD v1 exceptionally.
What changes were proposed in this pull request?
Upgrading aws-java-sdk-sts from 1.11.655 to 1.12.720
Does this PR introduce any user-facing change?
No
How was this patch tested?
Using the run-tests script
Was this patch authored or co-authored using generative AI tooling?
No