From 7eeec367bcebb79db0ea697c3dbe19e344c9bdac Mon Sep 17 00:00:00 2001 From: Yaguang Tang Date: Fri, 20 Nov 2026 06:58:44 +0800 Subject: [PATCH] fix(ingress-nginx): disable HTTP/2 by default (#4539) Signed-off-by: Yaguang Tang --- doc/source/config/ingress.rst | 12 ++++++++++++ ...disable-ingress-nginx-http2-66dfac180af1315c.yaml | 6 ++++++ roles/ingress_nginx/vars/main.yml | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 releasenotes/notes/disable-ingress-nginx-http2-66dfac180af1315c.yaml diff --git a/doc/source/config/ingress.rst b/doc/source/config/ingress.rst index 7f31536b..7df59248 100644 --- a/doc/source/config/ingress.rst +++ b/doc/source/config/ingress.rst @@ -33,6 +33,18 @@ the following to your inventory: These values will be merged with the default values in the chart, and will be used to configure the ingress controller. +****** +HTTP/2 +****** + +HTTP/2 is disabled by default to mitigate ``CVE-2026-123007`` and +``CVE-2026-123633``. HTTPS clients use HTTP/1.1 instead. Services that require +HTTP/2, such as gRPC, cannot use this ingress while HTTP/2 is disabled. + +The default sets ``controller.config.use-http2`` to ``"false"``. Inventory +overrides in ``ingress_nginx_helm_values`` must keep this setting disabled +until the ingress controller includes fixes for these vulnerabilities. + *********************** TLS Version and Ciphers *********************** diff --git a/releasenotes/notes/disable-ingress-nginx-http2-66dfac180af1315c.yaml b/releasenotes/notes/disable-ingress-nginx-http2-66dfac180af1315c.yaml new file mode 100644 index 00000000..324de7b4 --- /dev/null +++ b/releasenotes/notes/disable-ingress-nginx-http2-66dfac180af1315c.yaml @@ -0,0 +1,6 @@ +--- +security: + - | + Disable ``HTTP/2`` in the ingress controller by default to mitigate + ``CVE-2026-123007`` and ``CVE-2026-123633``. Clients must support + ``HTTP/1.1`` to connect through the ingress. diff --git a/roles/ingress_nginx/vars/main.yml b/roles/ingress_nginx/vars/main.yml index 48bb8830..1b61f9a2 100644 --- a/roles/ingress_nginx/vars/main.yml +++ b/roles/ingress_nginx/vars/main.yml @@ -21,6 +21,8 @@ _ingress_nginx_helm_values: digest: "{{ atmosphere_images['ingress_nginx_controller'] | vexxhost.kubernetes.docker_image('digest') }}" config: proxy-buffer-size: 16k + # Disable HTTP/2 to mitigate CVE-2026-123007 and CVE-2026-123633. + use-http2: "false" worker-shutdown-timeout: 5s dnsPolicy: ClusterFirstWithHostNet allowSnippetAnnotations: true