CVE-2021-25748

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*

History

01 Jun 2023, 20:44

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CWE NVD-CWE-noinfo
CPE cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*
References (MISC) https://github.com/kubernetes/ingress-nginx/issues/8686 - (MISC) https://github.com/kubernetes/ingress-nginx/issues/8686 - Issue Tracking, Mitigation, Vendor Advisory
References (MISC) https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8 - (MISC) https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8 - Mailing List, Mitigation, Vendor Advisory

24 May 2023, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-05-24 17:15

Updated : 2024-02-04 23:37


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
NVD-CWE-noinfo CWE-20

Improper Input Validation