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 google client apis to latest version #14414

Conversation

tejaswini-imply
Copy link
Member

@tejaswini-imply tejaswini-imply commented Jun 13, 2023

Currently Druid is using google apis client 1.26.0 version and google-oauth-client-1.26.0.jar in particular is bringing following CVEs CVE-2020-7692, CVE-2021-22573. Despite the CVEs being false positives, they're causing red security scans on Druid distribution. Hence updating the version to latest version with these CVE fixes.

@tejaswini-imply tejaswini-imply changed the title Update google apis version to 1.34.0 Update google client apis version to 1.34.0 Jun 13, 2023
@tejaswini-imply tejaswini-imply changed the title Update google client apis version to 1.34.0 Update google client apis latest version Jun 15, 2023
@tejaswini-imply tejaswini-imply changed the title Update google client apis latest version Update google client apis to latest version Jun 15, 2023
abhishekagarwal87 pushed a commit that referenced this pull request Aug 22, 2023
Currently, Druid is using Guava 16.0.1 version. This upgrade to 31.1-jre fixes the following issues.

CVE-2018-10237 (Unbounded memory allocation in Google Guava 11.0 through 24.x before 24.1.1 allows remote attackers to conduct denial of service attacks against servers that depend on this library and deserialize attacker-provided data because the AtomicDoubleArray class (when serialized with Java serialization) and the CompoundOrdering class (when serialized with GWT serialization) perform eager allocation without appropriate checks on what a client has sent and whether the data size is reasonable). We don't use Java or GWT serializations. Despite being false positive they're causing red security scans on Druid distribution.
Latest version of google-client-api is incompatible with the existing Guava version. This PR unblocks Update google client apis to latest version #14414
@abhishekagarwal87 abhishekagarwal87 merged commit dec6a0a into apache:master Sep 11, 2023
80 of 81 checks passed
@OliveBZH
Copy link

Hello, can you confirm that it is going to be part of the next 28.0 ? Thks

@abhishekagarwal87
Copy link
Contributor

@OliveBZH - Yes.

@LakshSingla LakshSingla added this to the 28.0 milestone Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants