A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character 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. In the default configuration, that credential has access to all secrets in the cluster.
References
Link | Resource |
---|---|
https://github.com/kubernetes/ingress-nginx/issues/8686 | Issue Tracking Mitigation Vendor Advisory |
https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8 | Mailing List Mitigation Vendor Advisory |
https://github.com/kubernetes/ingress-nginx/issues/8686 | Issue Tracking Mitigation Vendor Advisory |
https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8 | Mailing List Mitigation Vendor Advisory |
Configurations
History
21 Nov 2024, 05:55
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/kubernetes/ingress-nginx/issues/8686 - Issue Tracking, Mitigation, Vendor Advisory | |
References | () https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8 - Mailing List, Mitigation, Vendor Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.6 |
01 Jun 2023, 20:44
Type | Values Removed | Values Added |
---|---|---|
CWE | NVD-CWE-noinfo | |
First Time |
Kubernetes
Kubernetes ingress-nginx |
|
References | (MISC) https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8 - Mailing List, Mitigation, Vendor Advisory | |
References | (MISC) https://github.com/kubernetes/ingress-nginx/issues/8686 - Issue Tracking, Mitigation, Vendor Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
CPE | cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:* |
Information
Published : 2023-05-24 17:15
Updated : 2024-11-21 05:55
NVD link : CVE-2021-25748
Mitre link : CVE-2021-25748
CVE.ORG link : CVE-2021-25748
JSON object : View
Products Affected
kubernetes
- ingress-nginx
CWE