Aleksei Sviridkin d314cdb428 [Backport release-1.6] fix(ingress-nginx): pick up the nginx rebuild with the CVE fixes (#5506)
## What this PR does

Hand port of #5377 and #5436 to `release-1.6`. 1.6 still runs v1.11.2
controller, and its nginx has none of the fixes these two brought to
main and v1.7.2 (HTTP/2 CVE-2026-123633 and CVE-2026-123007, plus other
nginx CVEs the controller can reach, CVE-2026-97629 among them).
Backport batch parks both on this line because they build on #4549, the
v1.11.6 bump that never comes to 1.6 (see record in #5312), so this PR
switches the controller to the same image directly:
`v1.11.6-cozystack.3@sha256:059a75d56e567cbf12b4c5df440bfa06f7ed59b7404a0efd8c74e923b340a5cc`.

Controller jumps from v1.11.2 to v1.11.6 while chart stays on 4.11.2,
this is the part to look at:

- Templates that build controller pod and its access (deployment,
daemonset, `_params.tpl`, controller ConfigMaps, Service,
ServiceAccount, Roles, ClusterRoles and bindings) are identical between
4.11.2 here and 4.11.6 on release-1.7, where this image already runs.
Rest of template diff is ServiceMonitor, default backend and templated
webhook port (default stays 443, this package doesn't override it), plus
one comment and a renamed PrometheusRule file. `helm template` of the
package differs from line tip only in controller image line, both for
root ingress and for tenant ingress with webhook off.
- `Chart.yaml` keeps `appVersion: 1.11.2`, so
`app.kubernetes.io/version` label on controller still says 1.11.2.
Nothing in the tree reads it and it is not in selector, fixing it means
re-vendoring 4.11.6 chart, which is too much for a patch release.
- Upstream 1.11.3 to 1.11.6 are bug fixes plus CVE-2025-1974 set in
1.11.5. #720 already put v1.11.2 build with those patches backported on
this line, so the only behaviour change among them (admission webhook no
longer tests generated nginx config) is not new here.
- Segfault of the first v1.11.5 rebuild (#4012, the reason #4017 skipped
this line) is fixed in the fork by
cozystack/ingress-nginx-with-protobuf-exporter#7, which is an ancestor
of `v1.11.6-cozystack.3` tag.
- protobuf-exporter sidecar stays at v1.11.2. Main bumps it together
with controller, but `pbmetrics.lua` and template hooks calling it are
identical between fork `v1.11.2` and `v1.11.6-cozystack.3`, exporter
only changed how it is built (multi-arch, Go version).

No merge order needed, release-1.7 has this image since v1.7.2.

### Testing

- Tag resolves to pinned digest, an index with linux/amd64 and
linux/arm64.
- `helm unittest --with-subchart=false packages/system/ingress-nginx`
passes 2 of 2. Vendored upstream chart suites fail 5 of 76 on this line
with or without the change, package has no `test` target here so CI
doesn't run them.
- `make unit-tests` passes.
- [Live check on
v1.6.5](https://github.com/cozystack/cozystack/pull/5377#issuecomment-7086384344)
swapped only controller image to `cozystack.1` on stock 1.6 chart:
rolling update under HTTP/2 load, `nginx -t`, admission webhook server
dry-run, no restarts. `cozystack.3` itself was not run on a 1.6 cluster,
on 1.7 it runs since v1.7.2.

### Screenshots

N/A, no UI changes.

### Downstream repositories

Walked the trigger map against the diff: an image tag and digest in
`packages/system/ingress-nginx/values.yaml`. No package, 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:

### Release note

```release-note
fix(ingress-nginx): the ingress-nginx controller moves to v1.11.6-cozystack.3, nginx 1.25.5 rebuilt with the fixes for CVE-2026-123633, CVE-2026-123007 and the other nginx CVEs the controller can reach. The controller goes from v1.11.2 to v1.11.6 and its pods roll on upgrade. nginx still reports version 1.25.5, so scanners that match on the version will keep flagging it. From this release, upgrade to v1.7.2 or later: v1.7.0 and v1.7.1 run a controller build without these fixes.
```
2026-11-30 17:08:11 +03:00
2026-11-27 18:31:07 +05:00
2025-10-08 09:43:34 +05:00
2025-04-01 18:48:14 +02:00
2024-02-08 12:04:32 +01:00

Cozystack Cozystack

Open Source Apache-2.0 License Support Active GitHub Release GitHub Commit OpenSSF Best Practices OpenSSF Scorecard

Cozystack

Cozystack is a free platform and framework for building clouds.

Cozystack is a CNCF Sandbox Level Project that was originally built and sponsored by Ænix.

With Cozystack, you can transform a bunch of servers into an intelligent system with a simple REST API for spawning Kubernetes clusters, Database-as-a-Service, virtual machines, load balancers, HTTP caching services, and other services with ease.

Use Cozystack to build your own cloud or provide a cost-effective development environment.

Cozystack user interface

Use-Cases

Documentation

The documentation is located on the cozystack.io website.

Read the Getting Started section for a quick start.

If you encounter any difficulties, start with the troubleshooting guide and work your way through the process that we've outlined.

Versioning

Versioning adheres to the Semantic Versioning principles.
A full list of the available releases is available in the GitHub repository's Release section.

Contributions

Contributions are highly appreciated and very welcomed!

In case of bugs, please check if the issue has already been opened by checking the GitHub Issues section. If it isn't, you can open a new one. A detailed report will help us replicate it, assess it, and work on a fix.

You can express your intention to on the fix on your own. Commits are used to generate the changelog, and their author will be referenced in it.

If you have a concrete feature request, open an issue. For a cross-cutting or architectural change, open a design proposal in the community repo. For questions or early ideas, use GitHub Discussions. See CONTRIBUTING.md for the full routing.

Community

You are welcome to join our Telegram group and come to our weekly community meetings. Add them to your Google Calendar or iCal for convenience.

License

Cozystack is licensed under Apache 2.0.
The code is provided as-is with no warranties.

Commercial Support

A list of companies providing commercial support for this project can be found on official site.

Languages
Go 52.9%
Shell 33.3%
TypeScript 6.7%
Go Template 4.7%
Makefile 1.2%
Other 1.1%