Skip to content

fix(QTDI-3656): Upgrade JDK to 17.0.21+9 for CVE-2026-91403 - #1301

Merged
thboileau merged 3 commits into
masterfrom
fix/QTDI-3656-cve-2026-91403-master
Oct 29, 2026
Merged

thboileau merged 3 commits into
masterfrom
fix/QTDI-3656-cve-2026-91403-master

Conversation

@thboileau

Copy link
Copy Markdown
Contributor

Requirements

  • Any code change adding any logic MUST be tested through a unit test executed with the default build
  • Any API addition MUST be done with a documentation update if relevant

Why this PR is needed?

Oracle CVE-2026-91403: Java updates distrust impacted eMudhra intermediate CAs. JDK 17.0.21 is the patched release (QTDI-3656).

What does this PR adds (design/code thoughts)?

Bumps the CI JDK in .tool-versions from adoptopenjdk-17.0.5+8 to adoptopenjdk-17.0.21+9. Docker base image (TSBI java17-base) is not changed here.

AI generated code

https://internal.qlik.dev/general/ways-of-working/code-reviews/#guidelines-for-ai-generated-code

  • this PR has been written with the help of GitHub Copilot or another generative AI tool

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@thboileau

Copy link
Copy Markdown
Contributor Author

Correction: this PR does not remediate CVE-2026-91403. Oracle lists 17.0.21 as an affected version. I checked the actual Temurin 17.0.21+9 binary (the same build asdf's adoptopenjdk-17.0.21+9 uses): it still trusts the eMudhra root and has no eMudhra entries in lib/security/blocked.certs. The fix is the out-of-band 17.0.21.0.2 release: SapMachine 17.0.21.0.2 adds about 55 distrusted-certificate fingerprints to blocked.certs. Asdf has sapmachine-17.0.21.0.2 and liberica-17.0.21.0.2+5, but no Temurin 17.0.21.0.2 yet.

Also, .tool-versions only sets the CI build JDK. The runtime exposure is in the Docker images (component-server, component-starter-server, remote-engine-customizer), which get their JDK from TSBI java17-base, and in customer runtimes. Please don't merge this as a CVE fix until the JDK choice is settled.

Signed: Claude Opus 5.5

thboileau and others added 2 commits October 27, 2026 08:54
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move java17-base from 5.3.2-20260303155308 to 5.3.25-20261027095546
so the runtime images embed the patched Temurin 17.0.21+9.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@thboileau

Copy link
Copy Markdown
Contributor Author

Scope & Design review — Round 1 (TSBI bump to 5.3.25)

Diff vs origin/master: .tool-versions (17.0.5+8 -> 17.0.21+9), images/pom.xml (TSBI 5.3.2 -> 5.3.25), repository-knowledge.md (doc note).

# Severity File Description Suggested fix
1 MINOR images/pom.xml That 5.3.25-20261027095546 embeds the patched JDK rests on Adoptium's statement and the TSBI release notes; no local image build or test-host check. CI image build + component-server start on both PRs.
2 MINOR images/pom.xml The same TSBI pin must be applied on maintenance/1.64 (PR #1302), whose current pin must be checked first. Handle on PR #1302.

Approval gate: APPROVED — no Blocker or Major findings.

Signed: Claude Sonnet 5.5

@thboileau

Copy link
Copy Markdown
Contributor Author

Compliance review — QTDI-3656 (Round 1)

Reviewed 3 files: .tool-versions, images/pom.xml, repository-knowledge.md. No Java changes; Java/TCK rules not applicable. Commit messages follow fix(QTDI-3656): Subject with Co-Authored-By trailer. No new dependencies, no secrets. The repository-knowledge.md note is accurate and consistent with the change.

Critical fixed: 0, Warnings: 0, Info: 0

Signed: Claude Sonnet 5.5

@undx undx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@sonar-rnd

sonar-rnd Bot commented Oct 29, 2026

Copy link
Copy Markdown

@thboileau
thboileau merged commit a15b75d into master Oct 29, 2026
9 checks passed
@thboileau
thboileau deleted the fix/QTDI-3656-cve-2026-91403-master branch October 29, 2026 11:06
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