Skip to content

Updated guava dependency throughout azure-cosmos - #31761

Merged
jeet1995 merged 23 commits into
Azure:mainfrom
kushagraThapar:upgrade_guava_dependency_azure_cosmos
Nov 3, 2022
Merged

Updated guava dependency throughout azure-cosmos#31761
jeet1995 merged 23 commits into
Azure:mainfrom
kushagraThapar:upgrade_guava_dependency_azure_cosmos

Conversation

@kushagraThapar

@kushagraThapar kushagraThapar commented Oct 26, 2022

Copy link
Copy Markdown
Member

Motivation
This PR removes the dependency on the guava library due to possibility of recurring vulnerabilities (see CVE-2020-8908) and upgrades the dependency on testng library. As a result of moving away from the guava library and vulnerabilities in the commons-codec library (see CVE-2020-15250) the murmur hash 3 implementation is shaded from the commons-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.

@xinlian12 xinlian12 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@kushagraThapar

Copy link
Copy Markdown
Member Author

/azp run java - cosmos - ci

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@azure-sdk

Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

@jeet1995
jeet1995 self-requested a review as a code owner November 1, 2022 10:21

@FabianMeiswinkel FabianMeiswinkel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeet1995

jeet1995 commented Nov 1, 2022

Copy link
Copy Markdown
Member

/azp run java - cosmos - ci

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@kushagraThapar

Copy link
Copy Markdown
Member Author

/azp run java - cosmos - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@jeet1995
jeet1995 requested a review from anuchandy November 2, 2022 18:52
Comment thread NOTICE.txt
@jeet1995
jeet1995 merged commit f112495 into Azure:main Nov 3, 2022
jeet1995 added a commit that referenced this pull request Nov 3, 2022
@kushagraThapar kushagraThapar changed the title Updated guava dependency throughput azure-cosmos Updated guava dependency throughout azure-cosmos Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants