fix(image): patch keycloak image cves #24

Sammanfogat
supernaut sammanfogade 2 incheckningar från fix/image-cves in i main 2026-11-05 10:04:24 +00:00
Ägare

CI fails the trivy gate (HIGH,CRITICAL, --ignore-unfixed) on every open PR. Three fixed findings, none from our own provider or theme:

  • ca-certificates CVE-2026-114406 (CRITICAL)
  • java-21-openjdk-headless CVE-2026-91415 (HIGH, fixed in 21.0.13)
  • com.google.guava:guava 33.6.0 CVE-2026-102554 (HIGH, fixed in 33.7.2), bundled in Keycloak itself

Change

  • Bump the quay.io/keycloak/keycloak:26.8.1 digest to 3f3c5f8 (same as #19). It ships JDK 21.0.13 and the fixed ca-certificates.
  • Fetch guava 33.7.2-jre in the maven stage and copy it over Keycloak's bundled jar before kc.sh build. The file keeps its old name, since the Quarkus class-path index records it.
  • A RUN test -f on that file name fails the build once a Keycloak bump changes the bundled guava, so the override cannot go stale silently.

Verification

  • Local build passes, including the maven tests.
  • Gating scan: no fixed HIGH or CRITICAL.
  • Postgres smoke test: "Keycloak Initialized", health UP.

Not exercised beyond boot and /health/ready. Guava 33.x is minor-version compatible.

After merge, #19 is a no-op and can be closed. #20 to #23 need a rebase.

CI fails the trivy gate (`HIGH,CRITICAL`, `--ignore-unfixed`) on every open PR. Three fixed findings, none from our own provider or theme: - `ca-certificates` CVE-2026-114406 (CRITICAL) - `java-21-openjdk-headless` CVE-2026-91415 (HIGH, fixed in 21.0.13) - `com.google.guava:guava` 33.6.0 CVE-2026-102554 (HIGH, fixed in 33.7.2), bundled in Keycloak itself ## Change - Bump the `quay.io/keycloak/keycloak:26.8.1` digest to `3f3c5f8` (same as #19). It ships JDK 21.0.13 and the fixed `ca-certificates`. - Fetch guava 33.7.2-jre in the maven stage and copy it over Keycloak's bundled jar before `kc.sh build`. The file keeps its old name, since the Quarkus class-path index records it. - A `RUN test -f` on that file name fails the build once a Keycloak bump changes the bundled guava, so the override cannot go stale silently. ## Verification - Local build passes, including the maven tests. - Gating scan: no fixed HIGH or CRITICAL. - Postgres smoke test: "Keycloak Initialized", health UP. Not exercised beyond boot and `/health/ready`. Guava 33.x is minor-version compatible. After merge, #19 is a no-op and can be closed. #20 to #23 need a rebase.
supernaut lade till 2 incheckningar 2026-11-05 09:56:05 +00:00
supernaut sammanfogade incheckning ab0dab1898 till main 2026-11-05 10:04:24 +00:00
supernaut tog bort grenen fix/image-cves 2026-11-05 10:04:24 +00:00
supernaut refererade denna ändringsförfrågan från en incheckning 2026-11-05 10:04:25 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-keycloak!24
Ingen beskrivning angiven.