CVE-2021-25745
published high CVSS 3.1 · 7.6Ingress-nginx path can be pointed to service account token file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kubernetes | — | Kubernetes ingress-nginxunspecified to < 1.2.0 | Affected | Not stated | kubernetes |
| SUSE / openSUSE | openSUSE-Tumbleweed | rkeaarch64 | Advisory build | 1.3.10-1.1 | OPENSUSE-SU-2024:12031-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rkeppc64le | Advisory build | 1.3.10-1.1 | OPENSUSE-SU-2024:12031-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rkes390x | Advisory build | 1.3.10-1.1 | OPENSUSE-SU-2024:12031-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rkex86_64 | Advisory build | 1.3.10-1.1 | OPENSUSE-SU-2024:12031-1 |
Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- kubernetes · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kubernetes | Kubernetes ingress-nginx | unspecified to < 1.2.0 (affected · custom) | kubernetes · cna |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
3Provider assertions
2kubernetes · cna
Ingress-nginx path can be pointed to service account token file
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c0b20a470bea373794a4c1f92145c167176118501e13a301b5462566639dc1d3
- Ingested
- 23 Sep 2026, 07:53:18 UTC
- Source record
- Official CVE record