{"id":"CVE-2022-4886","published":"2023-10-25T19:18:45Z","modified":"2025-02-13T16:34:04Z","title":"Ingress-nginx `path` sanitization can be bypassed with `log_format` directive","vendor":"Kubernetes","product":"ingress-nginx","tier":"tail","description":{"text":"Ingress-nginx `path` sanitization can be bypassed with `log_format` directive.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01663,"percentile":0.77293,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/kubernetes/ingress-nginx/issues/10570","tags":["issue-tracking"]},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/ge7u3qCwZLI","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/25/5","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240307-0013/","tags":[]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":15.46},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"ingress-nginx","versions":["< 1.8.0"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-03-07T18:53:58.938732Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"k8s.io/ingress-nginx","vulnerableRanges":["<1.8.0"],"patched":["1.8.0"],"from":["GHSA-gvrm-w2f9-f77q"],"provenance":"source"}],"summary":{"text":"The ingress-nginx component of the Kubernetes project has a flaw in its path sanitization, which can be bypassed through the log_format directive. An attacker with network access and low-privilege authentication, requiring no user interaction, can exploit this improper input validation to bypass the path sanitization.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:29Z"},"euvd":{"id":"EUVD-2023-2743","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-25745","published":"2022-05-06","fixed":"1.2.0","kev":false},{"cve":"CVE-2021-25748","published":"2023-05-24","fixed":"1.2.1","kev":false},{"cve":"CVE-2018-1002104","published":"2020-01-14","fixed":"1.5","kev":false},{"cve":"CVE-2022-4886","published":"2023-10-25","fixed":"1.8.0","kev":false},{"cve":"CVE-2023-5043","published":"2023-10-25","fixed":"1.9.0","kev":false,"link":{"from":"CVE-2022-4886","to":"CVE-2023-5043","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/ingress-nginx","fromFixed":"1.8.0","toFixed":"1.9.0","daysApart":0}]}},{"cve":"CVE-2023-5044","published":"2023-10-25","fixed":"1.9.0","kev":false,"link":{"from":"CVE-2022-4886","to":"CVE-2023-5044","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/ingress-nginx","fromFixed":"1.8.0","toFixed":"1.9.0","daysApart":0}]}},{"cve":"CVE-2025-1097","published":"2025-03-24","fixed":"1.12.1","kev":false}],"package":"Go:k8s.io/ingress-nginx"}}