Skip to content
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

Merged

Conversation

kushagraThapar
Copy link
Member

@kushagraThapar kushagraThapar commented Oct 26, 2022

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.

Copy link
Member

@xinlian12 xinlian12 left a comment

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
Member Author

/azp run java - cosmos - ci

@azure-pipelines
Copy link

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

@azure-sdk
Copy link
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
Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

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

LGTM

@jeet1995
Copy link
Member

jeet1995 commented Nov 1, 2022

/azp run java - cosmos - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kushagraThapar
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@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