-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Updated guava dependency throughout azure-cosmos #31761
Updated guava dependency throughout azure-cosmos #31761
Conversation
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.
LGTM, thanks
/azp run java - cosmos - ci |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
API change check API changes are not detected in this pull request. |
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.
LGTM
/azp run java - cosmos - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
…b.com/kushagraThapar/azure-sdk-for-java into upgrade_guava_dependency_azure_cosmos
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
Motivation
This PR removes the dependency on the
guava
library due to possibility of recurring vulnerabilities (see CVE-2020-8908) and upgrades the dependency ontestng
library. As a result of moving away from theguava
library and vulnerabilities in thecommons-codec
library (see CVE-2020-15250) the murmur hash 3 implementation is shaded from thecommons-codec
library.Furthermore, the apache commons-codec implementation of murmur hash 3 is only used in unit testing and not in any implementation of azure-cosmos SDK.