Ingress-nginx `path` sanitization can be bypassed with `log_format` directive
CVE-2022-4886

6.5MEDIUM

Key Information:

Vendor
Kubernetes
Vendor
CVE Published:
25 October 2023

Summary

The Ingress-nginx component of Kubernetes has a vulnerability related to its path sanitization process. This flaw allows malicious actors to bypass the intended sanitization using the 'log_format' directive, potentially leading to unauthorized access or manipulation of request data. Users should review their configurations and apply any necessary patches to mitigate the risks associated with this vulnerability.

Affected Version(s)

ingress-nginx 0 < 1.8.0

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Ginoah, working with the DEVCORE Internship Program
.