CVE-2023-5044
Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | k8s.io/ingress-nginx | < 1.9.0 | 1.9.0 |
Betroffene Produkte · Kubernetes
| Produkt | Betroffene Versionen |
|---|---|
| Ingress-nginx | vor 1.9.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://www.openwall.com/lists/oss-security/2023/10/25/3
- https://github.com/kubernetes/ingress-nginx/issues/10572
- https://groups.google.com/g/kubernetes-security-announce/c/ukuYYvRNel0
- https://security.netapp.com/advisory/ntap-20240307-0012/
- https://github.com/advisories/GHSA-fp9f-44c2-cw27
- https://nvd.nist.gov/vuln/detail/CVE-2023-5044
- https://security.netapp.com/advisory/ntap-20240307-0012