GHSA-vg63-w3p9-jc9m
ingress-nginx controller - configuration injection via unsanitized mirror annotations
At a glance
- Published
- Updated
- CVE
- CVE-2025-1098
- Aliases
- GO-2025-3568
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
A security issue was discovered in [ingress-nginx](https://github.com/kubernetes/ingress-nginx) where the `mirror-target` and `mirror-host` Ingress annotations can be used to inject arbitrary configuration into nginx. This can lead to arbitrary code execution in the context of the ingress-nginx controller, and disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)
Affected packages
| Package | Versions |
|---|---|
| Go · k8s.io/ingress-nginx | introduced 0, fixed 1.11.5 |
| Go · k8s.io/ingress-nginx | introduced 1.12.0-beta.0, fixed 1.12.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1098 ADVISORY
- https://github.com/kubernetes/kubernetes/issues/131008 WEB
- https://github.com/kubernetes/ingress-nginx PACKAGE
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.11.5 WEB
- https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.12.1 WEB
- https://groups.google.com/g/kubernetes-security-announce/c/2qa9DFtN0cQ WEB
- https://security.netapp.com/advisory/ntap-20250328-0008 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |