CVE-2019-11247Kubernetes kube-apiserver allows access to custom resources via wrong scope
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.
What to do
Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | kubernetes | Fixed | 1.17.4-1 | DEBIAN-CVE-2019-11247 |
| Debian 13 | kubernetes | Fixed | 1.17.4-1 | DEBIAN-CVE-2019-11247 |
| Debian 12 | kubernetes | Fixed | 1.17.4-1 | DEBIAN-CVE-2019-11247 |
| Alpine Linux 3.24 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.23 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.22 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.21 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.20 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.19 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.18 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.17 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.16 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.15 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.14 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Alpine Linux 3.13 | k3s | Fixed | 0.8.0-r0 | ALPINE-CVE-2019-11247 |
| Go library | k8s.io/apiextensions-apiserver | Fixed | 0.13.9 | GHSA-fp37-c92q-4pwq |
What the vendor says
As published in the CVE record by kubernetes, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Kubernetes: affected: prior to 1.13.9, prior to 1.14.5, prior to 1.15.2, 1.7, 1.8, 1.9
Workaround: To mitigate, remove authorization rules that grant access to cluster-scoped resources within namespaces. For example, RBAC roles and clusterroles intended to be referenced by namespaced rolebindings should not grant access to resources:[*], apiGroups:[*], or grant access to cluster-scoped custom resources.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2019:2690 (vendor-advisory)
- https://access.redhat.com/errata/RHBA-2019:2816 (vendor-advisory)
- https://access.redhat.com/errata/RHBA-2019:2824 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:2769 (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.