Ingress-nginx path can be pointed to service account token file (Kubernetes Kubernetes ingress-nginx)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.18 % · percentile 68 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- kubernetes
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L | kubernetes |
| CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L | NVD · jordan@liggitt.net (Secondary) |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-pvmg-xgmx-9mxh — Improper Input Validation in k8s.io/ingress-nginx
European references
- ENISA EUVD · EUVD-2022-4829
- GCVE · GCVE-0-2021-25745
CERT-FR advisories
- CERTFR-2024-AVI-0781 — Multiples vulnérabilités dans les produits Juniper Networks · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*< 1.2.0
Affected products
| Product | Versions |
|---|---|
| Kubernetes · Kubernetes ingress-nginx | affected unspecified < 1.2.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |