{"id":"CVE-2023-5044","aliases":["CVE-2023-5044","GHSA-fp9f-44c2-cw27","GO-2024-2428"],"related":["CGA-854f-8326-49p2"],"kind":"vulnerability","state":"published","title":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation","summary":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation in k8s.io/ingress-nginx.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: k8s.io/ingress-nginx before v1.9.0.","format":"markdown","source":"go"},{"lang":"es","text":"Inyección de código a través de la anotación nginx.ingress.kubernetes.io/permanent-redirect.","source":"nvd"}],"published":"2023-10-25T19:19:08.139Z","modified":"2026-09-10T03:50:03.744Z","severity":{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-20","CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.9.0","status":"affected"},{"version":"1.9.0","status":"unknown"}],"vendor":"Kubernetes","product":"ingress-nginx","repo":"https://github.com/kubernetes/ingress-nginx","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.0"}],"ecosystem":"Go","package":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","source":"go"},{"ranges":[{"status":"affected","fixed":"1.9.0"}],"vendor":"kubernetes","product":"ingress-nginx","cpe":"cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/kubernetes/ingress-nginx/issues/10572","tags":["issue-tracking","mitigation","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/ukuYYvRNel0","tags":["mailing-list","mitigation","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/25/3","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240307-0012/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5044","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/kubernetes/ingress-nginx","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20240307-0012","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-fp9f-44c2-cw27","tags":["advisory"],"sources":["go"]}],"credits":["Jan-Otto Kröpke (Cloudeteer GmbH)"],"assigner":"kubernetes","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-12T14:53:07.514Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-5044","url":"https://www.cve.org/CVERecord?id=CVE-2023-5044","licence":"CVE Terms of Use","modified":"2025-06-12T14:53:17.540Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fp9f-44c2-cw27","url":"https://github.com/advisories/GHSA-fp9f-44c2-cw27","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:03.744Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2428","url":"https://pkg.go.dev/vuln/GO-2024-2428","licence":"CC-BY-4.0","modified":"2026-05-20T08:11:48.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-5044","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5044","licence":"Public domain","modified":"2026-06-17T06:47:25.490Z"}],"updatedAt":"2026-11-25T22:58:29.660Z","epss":{"score":0.53692,"percentile":0.99013,"date":"2026-12-02T12:00:21.000Z"}}