NetSight
high7.6

CVE-2023-5044

Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation

Impact

A security issue was identified in [ingress-nginx](https://github.com/kubernetes/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.

Affected packages

EcosystemPackageAffectedFixed in
gok8s.io/ingress-nginx< 1.9.01.9.0

Affected products

VendorProductAffected versions
KubernetesIngress-Nginx
before 1.9.0

Weakness classification

References