VULNERABILITY INTELLIGENCE
CVE-2021-25748
CVSS score7.6 HIGH
EPSS probability0.69%
CISA KEVNot currently listed
Published2023-05-24
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
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.
Weakness classification
- jordan@liggitt.net: CWE-20
- nvd@nist.gov: NVD-CWE-noinfo
Primary references
- jordan@liggitt.net — Issue Tracking, Mitigation, Vendor Advisory
- jordan@liggitt.net — Mailing List, Mitigation, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Mitigation, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Mitigation, Vendor Advisory