Skip to content

fix CO-79: use patched Chainguard-fork ingress-nginx controller image for 5.25 - #955

Open
lwille wants to merge 1 commit into
release-5.25-R2from
CO-79
Open

lwille wants to merge 1 commit into
release-5.25-R2from
CO-79

Conversation

@lwille

@lwille lwille commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Fixes https://wearezeta.atlassian.net/browse/CO-79

Change type

  • Fix
  • Feature
  • Documentation
  • Security / Upgrade

Basic information

  • THIS CHANGE REQUIRES A DEPLOYMENT PACKAGE RELEASE
  • THIS CHANGE REQUIRES A WIRE-DOCS RELEASE

Testing

  • I ran/applied the changes myself, in a test environment.
  • The CI job attached to this repo will test it for me.

Locally verified: the 5.25.0 ingress-nginx-controller chart with the bundled ingress-nginx 4.13.9 renders quay.io/wire/ingress-nginx-chainguard/controller:v1.15.16-20261119135009.gb3cf87b with prod, demo and load-balancer values (annotations-risk-level: "Critical", certgen v1.6.9 unchanged). /nginx-ingress-controller --version in the image reports Release: v1.15.16, Repository: https://github.com/chainguard-forks/ingress-nginx.git, nginx/1.27.1.

Offline Build CI (label-based)

build-default: builds the bundle (the image is dumped into containers-helm.tar via list-helm-containers) and deploys it to Hetzner, including ingress-nginx-controller and nginx-ingress-services.

Tracking

  • I added a new entry in an appropriate subdirectory of changelog.d
  • I mentioned this PR in Jira, OR I mentioned the Jira ticket in this PR.
  • I mentioned this PR in one of the issues attached to one of our repositories.

Knowledge Transfer

  • An Asciinema session is attached to the Jira ticket.

Motivation

CO-79 (CVE-2026-123007 "nginx2root", plus CVE-2026-123633): ingress-nginx serves HTTP/2 by default with an unpatched NGINX. Platform built a patched controller image from the Chainguard fork release controller-v1.15.16, which backports the NGINX 1.30.7 fixes to NGINX 1.27.1 (see wireapp/wire-docs#143).

Objective

Before After
controller image registry.k8s.io/ingress-nginx/controller:v1.13.9 quay.io/wire/ingress-nginx-chainguard/controller:v1.15.16-20261119135009.gb3cf87b
ingress-nginx chart 4.13.9 4.13.9 (unchanged)
kube-webhook-certgen v1.6.9 v1.6.9 (unchanged, no patched build)

Reason

  • Timestamped tag instead of v1.15.16: the bundle tooling can't pin digests, and v1.15.16 is mutable. v1.15.16-20261119135009.gb3cf87b = sha256:ceab4e092799cb93beb3dae20bd06c5902022ead7e6c51b3c8fc554332ebecd5, the digest from wire-docs#143. Multi-arch (amd64, arm64).
  • The image has the same layout as upstream (dumb-init → /nginx-ingress-controller, user www-data), so chart 4.13.9 runs it unchanged via controller.image.repository.
  • ingress-nginx 1.15 is officially tested on Kubernetes 1.31–1.35; the 5.25 bundle installs 1.29.10. Same trade-off as wire-docs#143, which recommends this image on chart 4.11.5.
  • Independent of Disable HTTP/2 in *-values.yaml #954 (use-http2: false); both touch the same values files and the upgrade guide, so whichever merges second needs a rebase.

Use case

Existing installations set controller.image.repository and controller.image.tag in their own values/ingress-nginx-controller/values.yaml and upgrade the ingress-nginx-controller release. Guide: offline/upgrades/ingress-nginx-controller-v1.13.md.

… 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant