From 534f8cf40c92f5e564d7961b80287b508268db7a Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 19 Nov 2026 16:34:38 +0100 Subject: [PATCH] fix CO-79: use patched Chainguard-fork ingress-nginx controller image for 5.25 Ship quay.io/wire/ingress-nginx-chainguard/controller (Wire build of chainguard-forks/ingress-nginx controller-v1.15.16) instead of upstream controller v1.13.9. It backports the NGINX 1.30.7 fixes for CVE-2026-123007 and CVE-2026-123633 to NGINX 1.27.1. - Pin the timestamped tag v1.15.16-20261119135009.gb3cf87b, which is sha256:ceab4e09...ecd5; the bundle tooling cannot pin digests and the plain v1.15.16 tag is mutable. - The image is pulled into containers-helm.tar automatically, because list-helm-containers renders the chart with the example values. - The ingress-nginx chart stays at 4.13.9; kube-webhook-certgen stays at upstream v1.6.9 (no patched build exists). - Update the upgrade guide and add release notes. --- .../CO-79-ingress-nginx-chainguard | 1 + .../CO-79-ingress-nginx-chainguard | 1 + .../ingress-nginx-controller-v1.13.md | 22 +++++++++++-------- .../demo-values.example.yaml | 6 ++++- .../load-balancer.example.yaml | 6 ++++- .../prod-values.example.yaml | 6 ++++- 6 files changed, 30 insertions(+), 12 deletions(-) create mode 100644 changelog.d/0-release-notes/CO-79-ingress-nginx-chainguard create mode 100644 changelog.d/2-wire-builds/CO-79-ingress-nginx-chainguard diff --git a/changelog.d/0-release-notes/CO-79-ingress-nginx-chainguard b/changelog.d/0-release-notes/CO-79-ingress-nginx-chainguard new file mode 100644 index 000000000..da6269ae8 --- /dev/null +++ b/changelog.d/0-release-notes/CO-79-ingress-nginx-chainguard @@ -0,0 +1 @@ +Security: the bundled ingress-nginx controller image is now `quay.io/wire/ingress-nginx-chainguard/controller:v1.15.16-20261119135009.gb3cf87b`, a Wire build of the Chainguard ingress-nginx fork with NGINX patched for CVE-2026-123007 and CVE-2026-123633. In your own `values/ingress-nginx-controller/values.yaml` set `controller.image.repository: quay.io/wire/ingress-nginx-chainguard/controller` and `controller.image.tag: "v1.15.16-20261119135009.gb3cf87b"` (under `ingress-nginx:`), see `values/ingress-nginx-controller/prod-values.example.yaml` and `offline/upgrades/ingress-nginx-controller-v1.13.md` (CO-79) diff --git a/changelog.d/2-wire-builds/CO-79-ingress-nginx-chainguard b/changelog.d/2-wire-builds/CO-79-ingress-nginx-chainguard new file mode 100644 index 000000000..ed695dbb5 --- /dev/null +++ b/changelog.d/2-wire-builds/CO-79-ingress-nginx-chainguard @@ -0,0 +1 @@ +Changed: ship the patched Chainguard-fork ingress-nginx controller image (v1.15.16, NGINX fixes for CVE-2026-123007 / CVE-2026-123633) instead of upstream `registry.k8s.io/ingress-nginx/controller:v1.13.9`; the ingress-nginx chart stays at 4.13.9 (CO-79) diff --git a/offline/upgrades/ingress-nginx-controller-v1.13.md b/offline/upgrades/ingress-nginx-controller-v1.13.md index 8f417adcd..cc89824eb 100644 --- a/offline/upgrades/ingress-nginx-controller-v1.13.md +++ b/offline/upgrades/ingress-nginx-controller-v1.13.md @@ -1,18 +1,19 @@ -# Upgrade ingress-nginx controller to v1.13.9 (wire-server 5.25) +# Upgrade ingress-nginx controller (wire-server 5.25) -Fixes known CVEs in the ingress-nginx controller image shipped with wire-server-deploy 5.25 (WPB-26631). +Fixes known CVEs in the ingress-nginx controller image shipped with wire-server-deploy 5.25 (WPB-26631) and patches the NGINX HTTP/2 vulnerabilities CVE-2026-123007 and CVE-2026-123633 (CO-79). ## Scope | Component | Before | After | |---|---|---| | `ingress-nginx` subchart of `charts/ingress-nginx-controller` | `4.11.5` | `4.13.9` | -| Controller image (`registry.k8s.io/ingress-nginx/controller`) | `v1.10.6` (values) | `v1.13.9` | +| Controller image | `registry.k8s.io/ingress-nginx/controller:v1.10.6` (values) | `quay.io/wire/ingress-nginx-chainguard/controller:v1.15.16-20261119135009.gb3cf87b` | | Admission webhook image (`registry.k8s.io/ingress-nginx/kube-webhook-certgen`) | `v20220916-gd32f8c343` | `v1.6.9` | | `controller.config.annotations-risk-level` | not set (controller default) | `Critical` | - No other chart or image changes. wire-server stays on 5.25.0. -- Supported Kubernetes versions: 1.29 – 1.33. The 5.25 bundle installs Kubernetes v1.29.10. +- Controller image: Wire build of the [Chainguard ingress-nginx fork](https://github.com/chainguard-forks/ingress-nginx) release [`controller-v1.15.16`](https://github.com/chainguard-forks/ingress-nginx/releases/tag/controller-v1.15.16). It backports the NGINX 1.30.7 fixes for CVE-2026-123007 and CVE-2026-123633 to its bundled NGINX 1.27.1; the binary still reports `nginx/1.27.1`. Multi-arch (linux/amd64, linux/arm64). The tag `v1.15.16-20261119135009.gb3cf87b` is digest `sha256:ceab4e092799cb93beb3dae20bd06c5902022ead7e6c51b3c8fc554332ebecd5`. See also the Wire security response for these CVEs on docs.wire.com. +- Kubernetes: ingress-nginx 1.15 is officially tested on Kubernetes 1.31 – 1.35. The 5.25 bundle installs Kubernetes v1.29.10; the controller runs there but outside upstream's tested range. - Expected impact: rolling restart of the ingress controller pods. Ingress service, node ports and DNS do not change. ## Background @@ -71,10 +72,10 @@ d ansible-playbook -i ./ansible/inventory/offline/hosts.ini ansible/seed-offline Verify on one Kubernetes node: ```bash -sudo crictl images | grep -E 'ingress-nginx/(controller|kube-webhook-certgen)' +sudo crictl images | grep -E 'ingress-nginx(-chainguard)?/(controller|kube-webhook-certgen)' ``` -Expected: `controller` tag `v1.13.9`, `kube-webhook-certgen` tag `v1.6.9`. +Expected: `quay.io/wire/ingress-nginx-chainguard/controller` tag `v1.15.16-20261119135009.gb3cf87b`, `registry.k8s.io/ingress-nginx/kube-webhook-certgen` tag `v1.6.9`. ## 3. Update ingress-nginx-controller values @@ -86,7 +87,8 @@ ingress-nginx: config: annotations-risk-level: Critical image: - tag: "v1.13.9" + repository: quay.io/wire/ingress-nginx-chainguard/controller + tag: "v1.15.16-20261119135009.gb3cf87b" digest: "" digestChroot: "" admissionWebhooks: @@ -97,7 +99,9 @@ ingress-nginx: ``` - Keep all other existing keys (`kind`, `service`, `metrics`, ...). +- `repository` replaces the chart's `registry` + `image`; remove any `controller.image.registry` / `controller.image.image` overrides you set before. - Remove any other `annotations-risk-level` setting (e.g. `Warning`). +- Metrics: with this bundle's chart (4.13.9), `controller.metrics.enabled: true` also passes `--enable-metrics=true` to the controller. A `controller.extraArgs.enable-metrics` override (needed with chart 4.11.5) is not required. - Reference: `values/ingress-nginx-controller/prod-values.example.yaml`. Compare: @@ -121,7 +125,7 @@ Expected: ``` allow-snippet-annotations: "true" annotations-risk-level: "Critical" - image: registry.k8s.io/ingress-nginx/controller:v1.13.9 + image: quay.io/wire/ingress-nginx-chainguard/controller:v1.15.16-20261119135009.gb3cf87b image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.6.9 image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.6.9 ``` @@ -150,7 +154,7 @@ SEL="app.kubernetes.io/instance=ingress-nginx-controller,app.kubernetes.io/compo | # | Check | Command | Expected | |---|---|---|---| | 1 | Pods ready | `d kubectl get pods -n -l "$SEL"` | All `Running`, `READY` 1/1 | -| 2 | Controller version | `d kubectl exec -n $(d kubectl get pod -n -l "$SEL" -o name \| head -1) -- /nginx-ingress-controller --version` | `Release: v1.13.9` | +| 2 | Controller version | `d kubectl exec -n $(d kubectl get pod -n -l "$SEL" -o name \| head -1) -- /nginx-ingress-controller --version` | `Release: v1.15.16`, `Repository: https://github.com/chainguard-forks/ingress-nginx.git` | | 3 | Risk level active | `d kubectl get cm -n ingress-nginx-controller-controller -o jsonpath='{.data.annotations-risk-level}'` | `Critical` | | 4 | No rejected ingresses | `d kubectl logs -n -l "$SEL" --tail=-1 \| grep -Ei 'risky\|too risky\|cannot be used'` | No output | | 5 | Ingresses | `d kubectl get ingress -n ` | `ADDRESS` populated for all ingresses | diff --git a/values/ingress-nginx-controller/demo-values.example.yaml b/values/ingress-nginx-controller/demo-values.example.yaml index 6e8b1405c..20c330c3a 100644 --- a/values/ingress-nginx-controller/demo-values.example.yaml +++ b/values/ingress-nginx-controller/demo-values.example.yaml @@ -13,7 +13,11 @@ ingress-nginx: # federator ingresses of nginx-ingress-services. annotations-risk-level: Critical image: - tag: "v1.13.9" + # Patched build of https://github.com/chainguard-forks/ingress-nginx controller-v1.15.16 + # (NGINX fixes for CVE-2026-123007 / CVE-2026-123633), see CO-79. + # Timestamped tag = sha256:ceab4e092799cb93beb3dae20bd06c5902022ead7e6c51b3c8fc554332ebecd5 + repository: quay.io/wire/ingress-nginx-chainguard/controller + tag: "v1.15.16-20261119135009.gb3cf87b" digest: "" digestChroot: "" admissionWebhooks: diff --git a/values/ingress-nginx-controller/load-balancer.example.yaml b/values/ingress-nginx-controller/load-balancer.example.yaml index 18f2696d4..47cdc036b 100644 --- a/values/ingress-nginx-controller/load-balancer.example.yaml +++ b/values/ingress-nginx-controller/load-balancer.example.yaml @@ -9,7 +9,11 @@ ingress-nginx: # federator ingresses of nginx-ingress-services. annotations-risk-level: Critical image: - tag: "v1.13.9" + # Patched build of https://github.com/chainguard-forks/ingress-nginx controller-v1.15.16 + # (NGINX fixes for CVE-2026-123007 / CVE-2026-123633), see CO-79. + # Timestamped tag = sha256:ceab4e092799cb93beb3dae20bd06c5902022ead7e6c51b3c8fc554332ebecd5 + repository: quay.io/wire/ingress-nginx-chainguard/controller + tag: "v1.15.16-20261119135009.gb3cf87b" digest: "" digestChroot: "" admissionWebhooks: diff --git a/values/ingress-nginx-controller/prod-values.example.yaml b/values/ingress-nginx-controller/prod-values.example.yaml index b6090feeb..1bc866ddb 100644 --- a/values/ingress-nginx-controller/prod-values.example.yaml +++ b/values/ingress-nginx-controller/prod-values.example.yaml @@ -13,7 +13,11 @@ ingress-nginx: # federator ingresses of nginx-ingress-services. annotations-risk-level: Critical image: - tag: "v1.13.9" + # Patched build of https://github.com/chainguard-forks/ingress-nginx controller-v1.15.16 + # (NGINX fixes for CVE-2026-123007 / CVE-2026-123633), see CO-79. + # Timestamped tag = sha256:ceab4e092799cb93beb3dae20bd06c5902022ead7e6c51b3c8fc554332ebecd5 + repository: quay.io/wire/ingress-nginx-chainguard/controller + tag: "v1.15.16-20261119135009.gb3cf87b" digest: "" digestChroot: "" admissionWebhooks: