CVE-2021-25742
published high CVSS 3.1 · 7.6Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kubernetes | — | Kubernetes ingress-nginxunspecified through 0.49.0 (affected · custom) · next of 0.49.0 to < unspecified (unknown · custom) · unspecified through 1.0.0 (affected · custom) · next of 1.0.0 to < unspecified (unknown · custom) | Version-specific | Not stated | kubernetes |
| SUSE / openSUSE | openSUSE-Tumbleweed | rkeaarch64 | Advisory build | 1.3.3-1.1 | OPENSUSE-SU-2024:11726-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rkeppc64le | Advisory build | 1.3.3-1.1 | OPENSUSE-SU-2024:11726-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rkes390x | Advisory build | 1.3.3-1.1 | OPENSUSE-SU-2024:11726-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rkex86_64 | Advisory build | 1.3.3-1.1 | OPENSUSE-SU-2024:11726-1 |
Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain 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 through 0.49.0 (affected · custom)next of 0.49.0 to < unspecified (unknown · custom)unspecified through 1.0.0 (affected · custom)next of 1.0.0 to < unspecified (unknown · custom) | kubernetes · cna |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
3Provider assertions
2kubernetes · cna
Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1f50b0975a3bca9929c93ebad083f3f9edd1a9faae657598dcd9822f8f3078f3
- Ingested
- 23 Sep 2026, 07:53:18 UTC
- Source record
- Official CVE record