Ingress-nginx `path` sanitization can be bypassed with newline character
Moderate severity
GitHub Reviewed
Published
May 24, 2023
to the GitHub Advisory Database
•
Updated Nov 7, 2023
Description
Published by the National Vulnerability Database
May 24, 2023
Published to the GitHub Advisory Database
May 24, 2023
Reviewed
May 24, 2023
Last updated
Nov 7, 2023
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of the
spec.rules[].http.paths[].path
field of an Ingress object (in thenetworking.k8s.io
orextensions
API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.References