Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation
High severity
GitHub Reviewed
Published
Oct 25, 2023
to the GitHub Advisory Database
•
Updated Aug 7, 2024
Description
Published by the National Vulnerability Database
Oct 25, 2023
Published to the GitHub Advisory Database
Oct 25, 2023
Reviewed
Jan 2, 2024
Last updated
Aug 7, 2024
A security issue was identified in ingress-nginx where the nginx.ingress.kubernetes.io/permanent-redirect annotation on an Ingress object (in the networking.k8s.io or extensions API group) can be used to inject arbitrary commands, and obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.
References