You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "eickler (via GitHub)" <gi...@apache.org> on 2026/10/24 20:55:56 UTC

[PR] fix(docker): Update ca-certificates in the server and admin tool images [polaris]

eickler opened a new pull request, #5864:
URL: https://github.com/apache/polaris/pull/5864

   The `apache/polaris` and `apache/polaris-admin-tool` images still trust **emSign ECC Root CA - G3**. That is the root the eight compromised eMudhra intermediates chain to (CVE-2026-114406, Red Hat [RHSB-2026-012](https://access.redhat.com/security/vulnerabilities/RHSB-2026-012), [oss-security](https://www.openwall.com/lists/oss-security/2026/10/20/1)). Anyone holding one of the recovered keys can mint a certificate for any host.
   
   Polaris's JVM accepts such a certificate. `lib/security/cacerts` resolves to the system store at `/etc/pki/java/cacerts`, and JSSE does not check revocation by default, so the revocations by eMudhra and Sectigo give no protection. Exposed calls are the ones Polaris makes over TLS: S3/ADLS/GCS, STS during credential vending, and the OIDC issuer.
   
   Red Hat published the fixed `ca-certificates-2026.2.92_v9.0.319-90.3.el9_8` to the UBI 9 repository on 2026-10-22. It has not rebuilt `ubi9/openjdk-21-runtime` with it. The newest build, `1.24-3.1791779558`, is the one `main` already pins and still lists the root, so Renovate cannot close the gap yet.
   
   ## Changes
   
   - Both `Dockerfile.jvm`s run `microdnf update ca-certificates` in their existing root step. The package scriptlet runs `update-ca-trust`, which regenerates the Java and PEM bundles. Once the base image carries the fix, the step does nothing, and it keeps future distrust errata from waiting on a base image rebuild.
   - CHANGELOG entries under *Fixes* and *Upgrade notes*. Besides the eMudhra roots, the current package retires the roots Mozilla has removed since the base image's trust store: 35 out and 7 in, among them `DigiCert Global Root CA` and the Entrust roots. A Red Hat rebuild of the base will bring the same change, but users should hear about it.
   
   ## Testing
   
   - The same step on top of `apache/polaris:1.8.0` and `apache/polaris-admin-tool:1.8.0` (amd64 and arm64), as a downstream overlay: `ca-certificates` resolves to `2026.2.92_v9.0.319-90.3.el9_8`, and `keytool -list -cacerts` lists 118 roots without `emSign ECC Root CA - G3`. User and entrypoint are unchanged.
   - I have not built this branch's images locally (no Docker daemon available). CI's *Polaris Docker Image Build* job builds the server image. The admin tool image uses the identical step.
   - I checked AWS S3 and STS, Azure Blob/ADLS and Entra ID, and GCS and Google OAuth endpoints with a JVM TLS handshake against the new trust store. All of them still verify.
   - `./gradlew format compileAll` passes.
   
   ## Release branch
   
   [`Cumulocity-IoT/polaris:fix/ca-certificates-emudhra-distrust-1.8.x`](https://github.com/Cumulocity-IoT/polaris/compare/release/1.8.x...fix/ca-certificates-emudhra-distrust-1.8.x) carries the same change on `release/1.8.x`. It keeps the 1.8.0 base image, with the CHANGELOG entries under `[Unreleased]`, ready to cherry-pick if the PMC wants a 1.8.1. I'm happy to open it as a PR against `release/1.8.x` if that is preferred.
   
   ## Checklist
   - [x] ๐Ÿ›ก๏ธ Don't disclose security issues! (contact security@apache.org): not a Polaris vulnerability. The CA compromise and its CVE are public, and this only applies the distro's trust-store update.
   - [x] ๐Ÿ”— Clearly explained why the changes are needed, or linked related issues: Fixes #
   - [x] ๐Ÿงช Added/updated tests with good coverage, or manually tested (and explained how)
   - [x] ๐Ÿ’ก Added comments for complex logic
   - [x] ๐Ÿงพ Updated `CHANGELOG.md` (if needed)
   - [ ] ๐Ÿ“š Updated documentation in `site/content/in-dev/unreleased` (if needed): not needed, no documented behaviour changes.
   
   Prepared with AI assistance (Claude Code). I reviewed the analysis and the change and take responsibility for them.
   
   ๐Ÿค– Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(docker): Update ca-certificates in the server and admin tool images [polaris]

Posted by "eickler (via GitHub)" <gi...@apache.org>.
eickler commented on PR #5864:
URL: https://github.com/apache/polaris/pull/5864#issuecomment-6415052023

   > @eickler it seems Red Hat has just published a new base image with the new CAs: `ubi9/openjdk-21-runtime:1.24-3.1792711374`.
   
   Great, and I see there's already a PR for it. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(docker): Update ca-certificates in the server and admin tool images [polaris]

Posted by "eickler (via GitHub)" <gi...@apache.org>.
eickler closed pull request #5864: fix(docker): Update ca-certificates in the server and admin tool images
URL: https://github.com/apache/polaris/pull/5864


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(docker): Update ca-certificates in the server and admin tool images [polaris]

Posted by "adutra (via GitHub)" <gi...@apache.org>.
adutra commented on PR #5864:
URL: https://github.com/apache/polaris/pull/5864#issuecomment-6413718858

   @eickler it seems Red Hat has just published a new base image with the new CAs: `ubi9/openjdk-21-runtime:1.24-3.1792711374`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org