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

Update guava version to 29.0-jre to remove a denial of service vulner… #7248

Merged
merged 1 commit into from
Sep 2, 2020

Conversation

rtreacy
Copy link
Contributor

@rtreacy rtreacy commented Sep 2, 2020

…ability

What this PR does / why we need it:
There is a potential denial of service attack in current guava version due to unbounded memory allocation. This was fixed in version 24.1.1 and above (also some back-fixes)

Which issue(s) this PR closes:

Closes #IQSS/dataverse-security#17

Special notes for your reviewer:
the following libraries used in dataverse depend on guava: auto-service, org.everit.json.schema, tika, search box, xoai-common.

Suggestions on how to test this:
It is related to code which uses the above listed libraries, but it should be a plug-in fix. I went though the guava release notes (https://github.com/google/guava/releases) between 16.0.1 and 29.0 are and there was only one potential breaking change listed. However, I checked the mvn repository pages for each library e.g. https://mvnrepository.com/artifact/org.everit.json/org.everit.json.schema/1.5.1 and 29.0-jre is listed as an update for the guava dependency on each page.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
no

Is there a release notes update needed for this change?:
no

Additional documentation:
https://nvd.nist.gov/vuln/detail/CVE-2018-10237
GHSA-mvr2-9pj6-7w5j

@coveralls
Copy link

Coverage Status

Coverage remained the same at 19.482% when pulling f23de3e on security17-guava-29.0-jre into 4a950c6 on develop.

@kcondon kcondon self-assigned this Sep 2, 2020
@kcondon kcondon merged commit 974a2af into develop Sep 2, 2020
@kcondon kcondon deleted the security17-guava-29.0-jre branch September 2, 2020 20:47
@djbrooke djbrooke added this to the 5.1 milestone Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants