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
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

No history.

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

Improper Input Validation

NVD-CWE-noinfo