CVE-2021-25748
Ingress-nginx `path` sanitization can be bypassed with newline character
CVSS Score
7.6
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-20 |
| Vendor | kubernetes |
| Product | kubernetes ingress-nginx |
| Ecosystems | |
| Industries | Technology |
| Published | May 24, 2023 |
| Last Updated | Jan 16, 2025 |
Stay Ahead of the Next One
Get instant alerts for kubernetes kubernetes ingress-nginx
Be the first to know when new high vulnerabilities affecting kubernetes kubernetes ingress-nginx are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
Affected Versions
Kubernetes / Kubernetes ingress-nginx
unspecified < 1.2.1
References
Credits
Gafnit Amiga