CVE-2023-5044: Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation

Published Oct 25, 2023
·
Updated

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.

Other sources

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

NVD

Affected Software

2 affected componentsFixes available
go/k8s.io/ingress-nginx<1.9.0
1.9.0
Kubernetes ingress-nginx<1.9.0

Event History

Oct 25, 2023
CVE Published
via MITRE·07:19 PM
Data Sourced
via MITRE·07:19 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:30 PM
Data Sourced
via GitHub·09:30 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-5044?

CVE-2023-5044 is a vulnerability that allows code injection via the nginx.ingress.kubernetes.io/permanent-redirect annotation in Kubernetes ingress-nginx.

2

How severe is CVE-2023-5044?

CVE-2023-5044 has a severity score of 8.8 (high).

3

Which software versions are affected by CVE-2023-5044?

Versions up to and excluding 1.9.0 of Kubernetes ingress-nginx are affected by CVE-2023-5044.

4

How can I fix CVE-2023-5044?

To fix CVE-2023-5044, upgrade to a version of Kubernetes ingress-nginx that is higher than 1.9.0.

5

Where can I find more information about CVE-2023-5044?

You can find more information about CVE-2023-5044 in the following references: [GitHub](https://github.com/kubernetes/ingress-nginx/issues/10572), [Google Groups](https://groups.google.com/g/kubernetes-security-announce/c/ukuYYvRNel0), [Openwall](http://www.openwall.com/lists/oss-security/2023/10/25/3).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203