Skip to content

Fix CVEs in hydrator-plugins via Guava dependency bump#1995

Closed
sidhdirenge wants to merge 0 commit into
developfrom
jetski/fix-cve-jul1-hydrator
Closed

Fix CVEs in hydrator-plugins via Guava dependency bump#1995
sidhdirenge wants to merge 0 commit into
developfrom
jetski/fix-cve-jul1-hydrator

Conversation

@sidhdirenge

Copy link
Copy Markdown

Bumped guava dependency to 32.0.0-android for CVE remediation and verified build success across 35 submodules.

@sidhdirenge sidhdirenge added the build Trigger unit test build label Jul 1, 2026

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the Guava dependency version in pom.xml to 32.0.0-android. The review feedback correctly advises against hardcoding the version directly, which bypasses the central <guava.version> property. Additionally, the reviewer recommends using the -jre flavor (specifically 32.0.1-jre) instead of -android to prevent compilation or runtime issues from missing Java 8+ APIs and to avoid a known Windows issue in version 32.0.0.

Comment thread pom.xml Outdated
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<version>32.0.0-android</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.

high

Hardcoding the version here bypasses the <guava.version> property defined in the <properties> block (line 101), which is currently set to 13.0.1. This leaves an outdated and highly vulnerable version property in the POM, which could still be referenced by other submodules or profiles, defeating the CVE remediation.\n\nAdditionally, please use the -jre flavor (e.g., 32.0.1-jre) instead of -android. The -android flavor is designed for Java 7 and Android environments and lacks Java 8+ APIs, whereas this project compiles with Java 8. Furthermore, version 32.0.0 has a known issue on Windows that is resolved in 32.0.1.\n\nRecommendation:\n1. Update the <guava.version> property at line 101 to 32.0.1-jre.\n2. Keep using the property reference ${guava.version} here.

Suggested change
<version>32.0.0-android</version>
<version>${guava.version}</version>

Comment thread pom.xml Outdated
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
<version>32.0.0-android</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.

medium

Please use the -jre flavor (e.g., 32.0.1-jre) instead of -android. The previous version used in this profile was 31.1-jre, and switching to -android may cause compilation or runtime issues due to missing Java 8+ APIs. Additionally, version 32.0.0 has known issues on Windows that are resolved in 32.0.1.

Suggested change
<version>32.0.0-android</version>
<version>32.0.1-jre</version>

@sidhdirenge sidhdirenge closed this Jul 1, 2026
@sidhdirenge sidhdirenge force-pushed the jetski/fix-cve-jul1-hydrator branch from a27adb9 to f5684ff Compare July 1, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Trigger unit test build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant