Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Ingress-Nginx | < 1.2.1 |
Related Weaknesses (CWE)
References
- https://github.com/kubernetes/ingress-nginx/issues/8686Issue TrackingMitigationVendor Advisory
- https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8Mailing ListMitigationVendor Advisory
- https://github.com/kubernetes/ingress-nginx/issues/8686Issue TrackingMitigationVendor Advisory
- https://groups.google.com/g/kubernetes-security-announce/c/avaRYa9c7I8Mailing ListMitigationVendor Advisory
FAQ
What is CVE-2021-25748?
CVE-2021-25748 is a vulnerability with a CVSS score of 7.6 (HIGH). 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` f...
How severe is CVE-2021-25748?
CVE-2021-25748 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-25748?
Check the references section above for vendor advisories and patch information. Affected products include: Kubernetes Ingress-Nginx.