Repository navigation
Bump Liberica base image and CI JDK to 25.0.5.0.3+5 (eMudhra CA compromise) - #634
Merged
Merged
Conversation
|
This was referenced Oct 29, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why
bellsoft/liberica-openjre-alpine:25.0.4.1still trusts the roots behind the compromised eMudhra intermediate CAs, including the AAA Certificate Services cross-sign path. Java checks neither revocation nor Certificate Transparency by default, so extime's outbound TLS to Avinor (asrv.avinor.no) would accept certificates from those intermediates, and fake flight timetables could be injected. BellSoft lists25.0.5.0.3+5as the fixed build.CI had the same problem:
setup-javawas pinned to Liberica25.0.4+9, a pre-fix build.Change
Dockerfile:25.0.4.1→25.0.5.0.3-5in both stages. Exact tag; Java major version unchanged..github/workflows/push.yml:maven-verify(including the Sonar step) now runs on Liberica25.0.5.0.3+5. setup-java'slibericadistribution can't select this build: it turns25.0.5.0.2+5and25.0.5.0.3+5into the same semver (25.0.5+5). So the workflow downloads the exact tarball from BellSoft's GitHub release, checks its SHA-256, and installs it. The download is limited to HTTPS (--proto '=https') withdistribution: jdkfile. Same approach as Bump Liberica base image and CI JDK to 21.0.13.0.3+5 (eMudhra CA compromise) nuska#190.Verification
~/.claude/skills/emudhra-fix/verify.sh(OpenJDK CheckCerts + BellSoft 12-chain test, with the image's own java, linux/amd64). Both images were built from this repo's Dockerfile with a jar built from this branch:Image digest tested:
sha256:4c6f9606998c55ed79be1a83dc06c1473771d8f73bc0906d22872e9d8e229421(local amd64 build)Smoke test: both images start Spring Boot 4.1.1 as
appuserand stop at the same missingavinor.timetable.feed.endpointsetting, which only exists in the cluster.CI JDK tarball: SHA-1 matches BellSoft's published
d6f798af…; the workflow pins the SHA-256 (619c8496…) computed from that verified file. Itscacertshas no emSign ECC Root CA - G3 or AAA Certificate Services (checked with keytool, which only inspects the file). It is the same build as the JRE in the verified image.Not covered: advisory
-noct-hosts, OS store (no curl in image).After merge
Re-run
verify.shagainst the deployed image digest.