fix(ingress-nginx): turn off TLS session tickets for CVE-2026-97629 (#5407)

## What this PR does

Turns off TLS session tickets in the ingress-nginx controller
(`ssl-session-tickets: "false"`).

[CVE-2026-97629](https://nginx.org/en/security_advisories.html): with
session tickets on and no fixed ticket key, nginx rotates its ticket
keys and, before 1.30.6 and 1.31.7, leaves one of them uninitialized in
the worker processes, which may allow a session to be forged. The
platform sets tickets on and no `ssl-session-ticket-key`, so it runs
exactly that path, and the controller nginx 1.25.5 does not carry the
fix ([`fdedba03`](https://github.com/nginx/nginx/commit/fdedba031b))
yet. It will come with the next rebuild of the controller image; this
change closes the hole without waiting for it.

What it costs is small. TLS session resumption keeps working through
`ssl_session_cache`, which the controller has on. And with no fixed
ticket key every pod had its own keys, so a ticket never resumed a
session on another replica anyway.

`make test` in the chart passes.

### Screenshots

N/A, no UI changes.

### Downstream repositories

Walked the trigger map against the diff: one controller ConfigMap value
in `packages/system/ingress-nginx/values.yaml`. No package, platform
values key, schema or app README changes.

- [x] No downstream repository is affected by this change
- [ ] [cozystack/website](https://github.com/cozystack/website) -
follow-up:
- [ ]
[cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack)
- follow-up:
- [ ]
[cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack)
- follow-up:
- [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up:
- [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up:
- [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) -
follow-up:
- [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) -
follow-up:
- [ ]
[cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server)
- follow-up:
- [ ]
[cozystack/external-apps-example](https://github.com/cozystack/external-apps-example)
- follow-up:
- [ ] [cozystack/examples](https://github.com/cozystack/examples) -
follow-up:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:

### Release note

```release-note
fix(ingress-nginx): TLS session tickets are turned off in the ingress-nginx controller (CVE-2026-97629). TLS session resumption keeps working through the shared session cache.
```



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Security**
* SSL session tickets are now disabled for ingress connections. TLS
session resumption remains available through the shared session cache,
so existing session reuse behavior continues without session tickets.
This changes how session resumption is handled while preserving the
cache-based option.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Backported-from: 7b9b4347b2
This commit is contained in:
Myasnikov Daniil committed 2026-11-25 10:49:46 +00:00
commit e78496f91f
1 file changed
+6 -1
+6 -1
View File
@@ -46,7 +46,12 @@ ingress-nginx:
upstream-keepalive-time: '1m'
upstream-keepalive-timeout: "60"
upstream-keepalive-connections: "320"
ssl-session-tickets: "true"
# Off for CVE-2026-97629: with tickets on and no ssl-session-ticket-key,
# nginx rotates its ticket keys and before 1.30.6 leaves one of them
# uninitialized in the workers. Resumption keeps working through the
# shared session cache; with no fixed key each pod had its own ticket
# keys, so tickets never resumed across replicas anyway.
ssl-session-tickets: "false"
# Client-side keepalive_time has no ConfigMap key, so nginx keeps its
# 1h default and sends GOAWAY to any HTTP/2 connection older than that.
# A long S3 operation (kopia maintenance behind Velero) multiplexes its