Description
A security issue was discovered in ingress-nginx where the `nginx.ingress.kubernetes.io/auth-proxy-set-headers` 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.)
Problem types
CWE-20 Improper Input Validation
Product status
Any version before 1.12.5
Any version before 1.13.1
Credits
Jan-Otto Kröpke
References
github.com/kubernetes/kubernetes/issues/136789