Skip to content

[cherry-pick][2.13] Upgrade org.jline:jline to 3.30.17 - #2020

Open
sahusanket wants to merge 1 commit into
release/2.13from
cherry_213_upgrade_jline_3_30_15
Open

sahusanket wants to merge 1 commit into
release/2.13from
cherry_213_upgrade_jline_3_30_15

Conversation

@sahusanket

@sahusanket sahusanket commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #2019 to release/2.13 (CDAP 6.11).

database-plugins pulls org.jline:jline:3.9.0 transitively via hadoop-client:3.3.6 (hadoop-yarn-client), which is affected by CVE-2026-56740, CVE-2026-56741, CVE-2026-77420, CVE-2026-77421, and CVE-2026-77422. Pin org.jline:jline to 3.30.17 in root <dependencyManagement> while staying on Java 8 (52.0 bytecode).

Testing

  • Verified root POM validation and RAT check on JDK 8 (8.0.432).
  • Verified database-plugins resolves and bundles org.jline:jline:3.30.17 cleanly on JDK 8.

@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 adds a dependency on org.jline:jline to the pom.xml file. The review feedback correctly identifies that the specified version 3.30.15 does not exist on Maven Central and is incompatible with the project's Java 8 target, suggesting a downgrade to version 3.25.1.

Comment thread pom.xml Outdated
<hadoop.version>3.3.6</hadoop.version>
<hsql.version>2.2.4</hsql.version>
<javamail.version>1.4.1</javamail.version>
<jline3.version>3.30.15</jline3.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.

critical

The version 3.30.15 for org.jline:jline does not exist on Maven Central, which will cause dependency resolution to fail.\n\nFurthermore, starting from version 3.26.0, JLine requires Java 11 or higher. Since this project targets Java 8 (as configured in the maven-compiler-plugin with <source>1.8</source> and <target>1.8</target>), using any version of JLine 3.26.0 or above will result in UnsupportedClassVersionError at runtime.\n\nTo maintain Java 8 compatibility and resolve the dependency successfully, please downgrade the version to 3.25.1, which is the latest JLine 3 release that supports Java 8.

Suggested change
<jline3.version>3.30.15</jline3.version>
<jline3.version>3.25.1</jline3.version>

@sahusanket sahusanket changed the title [cherry-pick][2.13] Upgrade org.jline:jline to 3.30.15 [cherry-pick][2.13] Upgrade org.jline:jline to 3.30.17 Nov 17, 2026
@sahusanket
sahusanket force-pushed the cherry_213_upgrade_jline_3_30_15 branch from 5ab8090 to dcda751 Compare November 17, 2026 15:47
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.

2 participants