Skip to content

🐛 Bump JDT LS 1.60.0 -> 1.63.0 (fixes bundled jsoup CVE-2026-75140) - #228

Merged
dymurray merged 2 commits into
mainfrom
bump-jdtls-1.63.0-cve
Nov 6, 2026
Merged

dymurray merged 2 commits into
mainfrom
bump-jdtls-1.63.0-cve

Conversation

@dymurray

@dymurray dymurray commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

The vulnerable Java libraries flagged against mta-cli-rhel9 and mta-java-external-provider-rhel9 are bundled by the jdtls tarball this image downloads (confirmed: plugins/org.jsoup_1.19.1.jar, plugins/com.google.guava_33.5.0.jre.jar, plugins/org.apache.ant_1.10.17.jar), not by this project's poms.

Bumps jdtls 1.60.0 → 1.63.0 in Dockerfile, Dockerfile.test, and the Tycho target platform (java-analyzer-bundle.target):

Lib 1.60.0 1.63.0 CVE Status
jsoup 1.19.1 1.23.2 CVE-2026-75140 (+CVE-2026-71497) ✅ fixed
apache ant 1.10.17 1.10.18 CVE-2026-78254 ✅ already past fix at 1.10.17 (likely scanner false-positive)
guava 33.5.0-jre 33.7.1-jre CVE-2026-102554 ⚠️ still vulnerable — fix is ≥33.7.2

Known gap: guava

CVE-2026-102554 needs guava ≥ 33.7.2. Even the latest jdtls (1.63.0) bundles 33.7.1, and no OSGi-packaged guava ≥33.7.2 exists in Eclipse Orbit yet, so a plain Maven jar can't be dropped in without breaking OSGi resolution. This CVE can't be closed by a jdtls bump and is tracked separately (upstream-blocked).

Jira: MTA-7624, MTA-7625 (jsoup) · MTA-7688, MTA-7689 (ant) · MTA-8093, MTA-8092 (guava, remains open).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • Updated the Java language server to milestone version 1.63.0 across development, test, and target platform configurations.

The jdtls tarball bundled in the image ships the vulnerable Java libraries
flagged against mta-cli-rhel9 and mta-java-external-provider-rhel9:
- jsoup 1.19.1 -> 1.23.2 fixes CVE-2026-75140 (and CVE-2026-71497)
- apache ant 1.10.17 -> 1.10.18 (1.10.17 was already past the CVE-2026-78254 fix)

Bumps the jdtls download URL (Dockerfile, Dockerfile.test) and the Tycho
build target platform (java-analyzer-bundle.target) from 1.60.0 to 1.63.0.

Known gap: guava is still vulnerable to CVE-2026-102554 (needs >= 33.7.2);
jdtls 1.63.0 ships 33.7.1 and no OSGi-packaged 33.7.2 exists upstream yet, so
that one cannot be resolved by a jdtls bump and is tracked separately.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Dylan Murray <dymurray@redhat.com>
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 111481e6-3f42-4e10-bd27-911516687452

No actionable comments were generated in the recent review.

Walkthrough

The Docker build, test image, and Java Analyzer target platform now reference JDT Language Server milestone 1.63.0 instead of 1.60.0.

Changes: JDT.LS Version Update

Layer / File(s) Summary
Align JDT.LS version references
Dockerfile, Dockerfile.test, java-analyzer-bundle.tp/java-analyzer-bundle.target
The Docker download URLs and target repository now use milestone 1.63.0. The target platform’s installable-unit settings and unit ID remain unchanged.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Bug fix

Suggested reviewers: eemcmullan

Merge Risk: Minimal · previous review 7af73

The version references are aligned, with no identified merge-blocking regression. Merge after normal build and test checks; the separately tracked Guava issue remains outside this fix.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title states the primary change: bumping the JDT LS version from 1.60.0 to 1.63.0. The raw summary confirms this version bump in Dockerfile, Dockerfile.test, and java-analyzer-bundle.target. The p…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the primary change: bumping the JDT LS version from 1.60.0 to 1.63.0. The raw summary confirms this version bump in Dockerfile, Dockerfile.test, and java-analyzer-bundle.target. The parenthetical names the motivation, a bundled jsoup CVE, which the PR objectives confirm (jsoup moves from 1.19.1 to 1.23.2). The title does not mention the open Guava gap, but it does not need to cover every detail. The title is specific and accurate, so the check passes.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 980ee493-507a-45a1-87f5-9fb5ffebdd9d
Commits

Reviewing files that changed from the base of the PR and between 8a14735 and 7af7307.

Files selected for processing: 3

  • Dockerfile
  • Dockerfile.test
  • java-analyzer-bundle.tp/java-analyzer-bundle.target

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@jmle
jmle self-requested a review November 4, 2026 16:09
JDT.LS 1.63.0 is built on Eclipse 2026-09, whose bundles (e.g.
org.eclipse.core.filesystem) require a JavaSE-25 runtime. Running the
server on Java 21 fails OSGi resolution and the application aborts at
initialize with "An error has occurred. See the log file", which breaks
the Phase 2 integration tests.

Bump the runtime JDK in the final image to java-25-openjdk. The Tycho
build stage stays on Java 21 since ECJ compiles against the Java 25
bundles without issue.

Signed-off-by: Juanma Leflet Estrada <jleflete@redhat.com>
@jmle jmle added cherry-pick/release-0.11 This PR should be cherry-picked to release-0.11 branch cherry-pick/release-0.10 This PR should be cherry-picked to release-0.10 branch labels Nov 6, 2026
@dymurray
dymurray merged commit 15480c6 into main Nov 6, 2026
20 of 22 checks passed
@konveyor-ci-bot

Copy link
Copy Markdown

PR cherry-picked to branch release-0.11. Backport PR: #229

@konveyor-ci-bot

Copy link
Copy Markdown

PR cherry-picked to branch release-0.10. Backport PR: #230

jmle added a commit that referenced this pull request Nov 6, 2026
…228) (#230)

* 🐛 Bump JDT LS 1.60.0 -> 1.63.0 to pick up fixed jsoup

The jdtls tarball bundled in the image ships the vulnerable Java libraries
flagged against mta-cli-rhel9 and mta-java-external-provider-rhel9:
- jsoup 1.19.1 -> 1.23.2 fixes CVE-2026-75140 (and CVE-2026-71497)
- apache ant 1.10.17 -> 1.10.18 (1.10.17 was already past the CVE-2026-78254 fix)

Bumps the jdtls download URL (Dockerfile, Dockerfile.test) and the Tycho
build target platform (java-analyzer-bundle.target) from 1.60.0 to 1.63.0.

Known gap: guava is still vulnerable to CVE-2026-102554 (needs >= 33.7.2);
jdtls 1.63.0 ships 33.7.1 and no OSGi-packaged 33.7.2 exists upstream yet, so
that one cannot be resolved by a jdtls bump and is tracked separately.




* Run JDT.LS on Java 25

JDT.LS 1.63.0 is built on Eclipse 2026-09, whose bundles (e.g.
org.eclipse.core.filesystem) require a JavaSE-25 runtime. Running the
server on Java 21 fails OSGi resolution and the application aborts at
initialize with "An error has occurred. See the log file", which breaks
the Phase 2 integration tests.

Bump the runtime JDK in the final image to java-25-openjdk. The Tycho
build stage stays on Java 21 since ECJ compiles against the Java 25
bundles without issue.



---------

Signed-off-by: Dylan Murray <dymurray@redhat.com>
Signed-off-by: Juanma Leflet Estrada <jleflete@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>
Co-authored-by: Dylan Murray <dymurray@redhat.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Juanma Leflet Estrada <jleflete@redhat.com>
jmle added a commit that referenced this pull request Nov 6, 2026
…228) (#229)

* 🐛 Bump JDT LS 1.60.0 -> 1.63.0 to pick up fixed jsoup

The jdtls tarball bundled in the image ships the vulnerable Java libraries
flagged against mta-cli-rhel9 and mta-java-external-provider-rhel9:
- jsoup 1.19.1 -> 1.23.2 fixes CVE-2026-75140 (and CVE-2026-71497)
- apache ant 1.10.17 -> 1.10.18 (1.10.17 was already past the CVE-2026-78254 fix)

Bumps the jdtls download URL (Dockerfile, Dockerfile.test) and the Tycho
build target platform (java-analyzer-bundle.target) from 1.60.0 to 1.63.0.

Known gap: guava is still vulnerable to CVE-2026-102554 (needs >= 33.7.2);
jdtls 1.63.0 ships 33.7.1 and no OSGi-packaged 33.7.2 exists upstream yet, so
that one cannot be resolved by a jdtls bump and is tracked separately.




* Run JDT.LS on Java 25

JDT.LS 1.63.0 is built on Eclipse 2026-09, whose bundles (e.g.
org.eclipse.core.filesystem) require a JavaSE-25 runtime. Running the
server on Java 21 fails OSGi resolution and the application aborts at
initialize with "An error has occurred. See the log file", which breaks
the Phase 2 integration tests.

Bump the runtime JDK in the final image to java-25-openjdk. The Tycho
build stage stays on Java 21 since ECJ compiles against the Java 25
bundles without issue.



---------

Signed-off-by: Dylan Murray <dymurray@redhat.com>
Signed-off-by: Juanma Leflet Estrada <jleflete@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>
Co-authored-by: Dylan Murray <dymurray@redhat.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Juanma Leflet Estrada <jleflete@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick/release-0.10 This PR should be cherry-picked to release-0.10 branch cherry-pick/release-0.11 This PR should be cherry-picked to release-0.11 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants