Skip to content

fixes - #45

Open
AbhishekKumar9984 wants to merge 2 commits into
data-integrations:developfrom
AbhishekKumar9984:guava_fixes
Open

AbhishekKumar9984 wants to merge 2 commits into
data-integrations:developfrom
AbhishekKumar9984:guava_fixes

Conversation

@AbhishekKumar9984

@AbhishekKumar9984 AbhishekKumar9984 commented Oct 15, 2026 •

Copy link
Copy Markdown

Issue :
Resolved security vulnerabilities (CVE-2023-2976 / CVE-2020-8908) associated with older versions of com.google.guava:guava (27.0.1-jre) pulled in directly and transitively via plugin dependencies.

Root Cause :
pom.xml used guava version 27.0.1-jre (and 31.0.1-jre in the e2e profile), while CDAP, Hadoop, and google-cloud-storage dependencies transitively pulled in conflicting Guava versions.

Fix :

  • Upgraded <guava.version> from 27.0.1-jre to 32.0.0-jre in pom.xml and removed the 31.0.1-jre override from the e2e profile.
  • Excluded transitive com.google.guava:guava from io.cdap.plugin:hydrator-common, io.cdap.cdap:cdap-api, io.cdap.cdap:cdap-etl-api, org.apache.hadoop:hadoop-common, com.google.cloud:google-cloud-storage, and io.cdap.tests.e2e:cdap-e2e-framework.

Testing evidence: https://docs.google.com/spreadsheets/d/1Cw6Z_k3wlks7sAC4-Kg6FTIMRL7-zxLlsJIXvVJLrb8/edit?gid=0#gid=0

@dheeraj-kholia-cs dheeraj-kholia-cs left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

fixes2

@deepika-lalwani123 deepika-lalwani123 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks fine overall. One nit inline.

Comment thread pom.xml
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<guava.version>27.0.1-jre</guava.version>
<guava.version>32.0.0-jre</guava.version>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please use Guava >= 32.1.3-jre instead of 32.0.0-jre. 32.0.0 has a known regression (temp dir handling), fixed in 32.0.1. Ideally pin it once in dependencyManagement and add a maven-enforcer requireUpperBoundDeps rule rather than per-dependency <exclusion> blocks.

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.

3 participants