{"id":"CVE-2023-5044","aliases":["EUVD-2023-2727","GHSA-fp9f-44c2-cw27","GO-2024-2428"],"status":"published","title":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation","description":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.","severity":{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.53692,"percentile":0.99002,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20","CWE-94"],"published":"2023-10-25T19:19:08Z","modified":"2026-10-28T02:31:07Z","exploits":[{"source":"pocgithub","id":"4ARMED/cve-2023-5044","title":"4ARMED/cve-2023-5044","date":"2024-01-17","url":"https://github.com/4ARMED/cve-2023-5044"},{"source":"pocgithub","id":"KubernetesBachelor/CVE-2023-5044","title":"KubernetesBachelor/CVE-2023-5044","date":"2024-03-29","url":"https://github.com/KubernetesBachelor/CVE-2023-5044"},{"source":"pocgithub","id":"r0binak/CVE-2023-5044","title":"r0binak/CVE-2023-5044","date":"2023-10-30","url":"https://github.com/r0binak/CVE-2023-5044"}],"fixes":[{"ecosystem":"Go","package":"k8s.io/ingress-nginx","fixed_in":["1.9.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"k8s.io/ingress-nginx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0"}]}]},{"source":"osv","ecosystem":"Go","package":"k8s.io/ingress-nginx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.9.0"}]}]},{"source":"osv","ecosystem":"Go","package":"k8s.io/ingress-nginx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"products":[{"vendor":"kubernetes","product":"ingress-nginx"}],"references":[{"url":"https://github.com/kubernetes/ingress-nginx/issues/10572","tags":["issue-tracking","x_transferred","Issue Tracking","Mitigation","Vendor Advisory","report","web"]},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/ukuYYvRNel0","tags":["mailing-list","x_transferred","Mailing List","Mitigation","article","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/25/3","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240307-0012/","tags":["x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5044","tags":["advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240307-0012","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fp9f-44c2-cw27","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5044.json","tags":["advisory"]},{"url":"https://github.com/kubernetes/ingress-nginx","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-5044","title":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation","description":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.","status":"published","published":"2023-10-25T19:19:08.139Z","modified":"2025-06-12T14:53:17.54Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:35:17.149492Z"}],"euvd":[{"id":"EUVD-2023-2727","description":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.","status":"published","published":"2023-10-25T19:19:08Z","modified":"2025-06-12T14:53:17Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T20:32:24.598995Z"}],"ghsa":[{"id":"GHSA-fp9f-44c2-cw27","title":"Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation","description":"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.","status":"published","published":"2023-10-25T21:30:33Z","modified":"2025-02-13T19:18:23Z","cvss":[{"version":"4.0","score":7.2,"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","level":"high"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-20","CWE-94"],"updated_at":"2026-11-02T14:38:31.416868Z"}],"nvd":[{"id":"CVE-2023-5044","description":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.","status":"published","published":"2023-10-25T20:15:18.187Z","modified":"2026-06-17T06:47:25.49Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-20","CWE-94"],"updated_at":"2026-11-02T14:08:40.004465Z"}],"osv":[{"id":"CVE-2023-5044","title":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation","description":"Code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation.","status":"published","published":"2023-10-25T19:19:08.139Z","modified":"2026-10-28T02:31:07.47776454Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:44:35.245372Z"},{"id":"GHSA-fp9f-44c2-cw27","title":"Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation","description":"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.","status":"published","published":"2023-10-25T21:30:33Z","modified":"2026-09-10T03:50:03.744445777Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"},{"version":"4.0","score":7.2,"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","level":"high"}],"cwes":["CWE-20","CWE-94"],"updated_at":"2026-11-02T15:46:46.760785Z"},{"id":"GO-2024-2428","title":"Ingress-nginx code injection via nginx.ingress.kubernetes.io/permanent-redirect annotation in k8s.io/ingress-nginx","description":"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.","status":"published","published":"2024-06-28T15:28:53Z","modified":"2026-05-20T08:11:48.839696883Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
