Skip to content
OpenAdvisories
Medium · 5.0 CVE-2019-11247 EUVD-2022-3812GHSA-fp37-c92q-4pwq

Kubernetes kube-apiserver allows access to custom resources via wrong scope

Published Aug 29, 2019 · Updated Sep 16, 2024 · Assigned by kubernetes

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.

Affected products

VendorProductAffectedFixed
Kubernetes Kubernetes prior to 1.13.9, prior to 1.14.5, prior to 1.15.2, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kubernetes 1.17.4-1 —
Debian 13 kubernetes 1.17.4-1 —
Debian 12 kubernetes 1.17.4-1 —
ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 openshift +3 4.1.10-201908060758.git.0.d81afa6.el7 RHSA-2019:2504
Red Hat OpenShift 3 ansible-service-broker +2 1.1.20-2.el7 RHSA-2019:2769, RHBA-2019:2816
Red Hat OpenShift 3 atomic-openshift +13 3.9.101-1.git.0.150f595.el7 RHSA-2019:2769, RHSA-2019:2690
Red Hat OpenShift 3 atomic-openshift-descheduler 3.9.13-2.git.267.bb59a3f.el7 RHSA-2019:2769
Red Hat OpenShift 3 atomic-openshift-dockerregistry 3.9.101-1.git.1.13625cf.el7 RHSA-2019:2769
Red Hat OpenShift 3 atomic-openshift-hyperkube +1 3.10.170-1.git.0.8e592d6.el7 RHSA-2019:2690
Red Hat OpenShift 3 atomic-openshift-node-problem-detector 3.9.13-2.git.167.5d6b0d4.el7 RHSA-2019:2769
Red Hat OpenShift 3 atomic-openshift-web-console 3.9.101-1.git.1.601c6d2.el7 RHSA-2019:2769
Red Hat OpenShift 3 automation-broker-apb-role 1:1.3.23-2.el7 RHBA-2019:2816
Red Hat OpenShift 3 cockpit +1 195-2.rhaos.el7 RHSA-2019:2769
Red Hat OpenShift 3 containernetworking-plugins 0.5.2-6.el7 RHSA-2019:2769
Red Hat OpenShift 3 cri-o 1.9.16-3.git858756d.el7 RHSA-2019:2769
Red Hat OpenShift 3 cri-tools 1.0.0-6.rhaos3.9.git8e6013a.el7 RHSA-2019:2769
Red Hat OpenShift 3 golang-github-openshift-oauth-proxy 2.1-3.git885c9f40.el7 RHSA-2019:2769
Red Hat OpenShift 3 golang-github-openshift-prometheus-alert-buffer 0-3.gitceca8c1.el7 RHSA-2019:2769
Red Hat OpenShift 3 hawkular-openshift-agent 1.2.2-3.el7 RHSA-2019:2769
Red Hat OpenShift 3 heapster 1.3.0-4.el7 RHSA-2019:2769
Red Hat OpenShift 3 image-inspector 2.1.3-2.el7 RHSA-2019:2769
Red Hat OpenShift 3 openshift-enterprise-image-registry 3.8.0-2.git.216.b6b90bb.el7 RHSA-2019:2769
Red Hat OpenShift 3 openshift-eventrouter 0.1-3.git5bd9251.el7 RHSA-2019:2769
Red Hat OpenShift 3 openshift-external-storage +4 0.0.1-9.git78d6339.el7 RHSA-2019:2769
Red Hat OpenShift 3 openvswitch-ovn-kubernetes 0.1.0-3.el7 RHSA-2019:2769
Red Hat OpenShift 3 prometheus +1 2.2.1-2.gitbc6058c.el7 RHSA-2019:2769
Red Hat OpenShift 3 prometheus-alertmanager +1 0.14.0-2.git30af4d0.el7 RHSA-2019:2769
Red Hat OpenShift 3 prometheus-node-exporter +1 3.9.101-1.git.1.8295224.el7 RHSA-2019:2769
Red Hat OpenShift 3 prometheus-promu +1 0-5.git85ceabc.el7 RHSA-2019:2769
ReleasePackageFixed inAdvisory
Alpine v3.24 k3s 0.8.0-r0 —
Alpine v3.23 k3s 0.8.0-r0 —
Alpine v3.22 k3s 0.8.0-r0 —
Alpine v3.21 k3s 0.8.0-r0 —
Alpine v3.20 k3s 0.8.0-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 k3s 0.8.0-r0 —
Alpine v3.18 k3s 0.8.0-r0 —
Alpine v3.17 k3s 0.8.0-r0 —
Alpine v3.16 k3s 0.8.0-r0 —
Alpine v3.15 k3s 0.8.0-r0 —
Alpine v3.14 k3s 0.8.0-r0 —
Alpine v3.13 k3s 0.8.0-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kubeadm +2 1.12.10-1.0.10.el7 ELSA-2019-4816
Oracle Linux 7 kubeadm-ha-setup 0.0.2-1.0.68.el7 ELSA-2019-4816
Oracle Linux 7 kubeadm-upgrade 0.0.1-1.0.27.el7 ELSA-2019-4816

Affected packages

EcosystemPackageAffectedFixedRecord
Go k8s.io/apiextensions-apiserver >= 0.7.0, < 0.13.9 0.13.9 GHSA-fp37-c92q-4pwq
Go k8s.io/apiextensions-apiserver >= 0.14.0, < 0.14.5 0.14.5 GHSA-fp37-c92q-4pwq
Go k8s.io/apiextensions-apiserver >= 0.15.0, < 0.15.2 0.15.2 GHSA-fp37-c92q-4pwq

Advisories 6

References