Input validation error in Ingress-NGINX Controller for Kubernetes - CVE-2022-4886

 

Input validation error in Ingress-NGINX Controller for Kubernetes - CVE-2022-4886

Published: October 30, 2023


Vulnerability identifier: #VU82559
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-4886
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Kubernetes
Affected software:
Ingress-NGINX Controller for Kubernetes

Detailed vulnerability description

The vulnerability allows a remote user to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input. A remote user who can create or update ingress objects can use directives to bypass the sanitization of the spec.rules[].http.paths[].path field of an Ingress object (in the networking.k8s.io or extensions API group) to obtain the credentials of the ingress-nginx controller.


How to mitigate CVE-2022-4886

Install updates from vendor's website.

Sources