GHSA-823x-fv5p-h7hw

ngress-nginx controller - configuration injection via unsanitized auth-tls-match-cn annotation

At a glance

Published
Updated
CVE
CVE-2025-1097
Aliases
GO-2025-3565
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 `auth-tls-match-cn` Ingress annotation can be used to inject 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

PackageVersions
Go · k8s.io/ingress-nginxintroduced 0, fixed 1.11.5
Go · k8s.io/ingress-nginxintroduced 1.12.0-beta.0, fixed 1.12.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database