Kubernetes kube-apiserver allows access to custom resources via wrong scope (Kubernetes Kubernetes)
At a glance
- Source
- NVD
- EPSS
- EPSS 2.15 % · percentile 82 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- kubernetes
- NVD status
- Modified
Description
The Kubernetes kube-apiserver mistakenly allows access to a cluster-scoped custom resource if the request is made as if the resource were namespaced. Authorizations for the resource accessed in this manner are enforced using roles and role bindings within the namespace, meaning that a user with access only to a resource in one namespace could create, view update or delete the cluster-scoped resource (according to their namespace role privileges). Kubernetes affected versions include versions prior to 1.13.9, versions prior to 1.14.5, versions prior to 1.15.2, and versions 1.7, 1.8, 1.9, 1.10, 1.11, 1.12.
Weaknesses (CWE)
References
- https://github.com/kubernetes/kubernetes/issues/80983
- https://groups.google.com/d/msg/kubernetes-security-announce/vUtEcSEY6SM/v2ZZxsmtFQAJ
- https://access.redhat.com/errata/RHSA-2019:2690
- https://security.netapp.com/advisory/ntap-20190919-0003/
- https://access.redhat.com/errata/RHBA-2019:2816
- https://access.redhat.com/errata/RHBA-2019:2824
- https://access.redhat.com/errata/RHSA-2019:2769
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | MEDIUM 5.0 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L | kubernetes |
| 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 3.0 | MEDIUM 5.0 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L | NVD · jordan@liggitt.net (Secondary) |
| CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-fp37-c92q-4pwq — Kubernetes kube-apiserver unauthorized access
European references
- ENISA EUVD · EUVD-2022-3812
- GCVE · GCVE-0-2019-11247
CERT-FR advisories
- CERTFR-2022-AVI-591 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.7.0 ≤ 1.12.10cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.13.0 < 1.13.9cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.14.0 < 1.14.5cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.15.0 < 1.15.2cpe:2.3:a:kubernetes:kubernetes:1.12.11:beta0:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:3.9:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:3.10:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Kubernetes · Kubernetes | affected prior to 1.13.9 ; affected prior to 1.14.5 ; affected prior to 1.15.2 ; affected 1.7 ; affected 1.8 ; affected 1.9 |
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 |