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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-3812 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.
Github GHSA Github GHSA GHSA-fp37-c92q-4pwq Kubernetes kube-apiserver unauthorized access
Fixes

Solution

No solution given by the vendor.


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.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: kubernetes

Published:

Updated: 2024-09-16T18:04:25.053Z

Reserved: 2019-04-17T00:00:00

Link: CVE-2019-11247

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-08-29T01:15:11.287

Modified: 2024-11-21T04:20:47.980

Link: CVE-2019-11247

cve-icon Redhat

Severity : Moderate

Publid Date: 2019-08-05T00:00:00Z

Links: CVE-2019-11247 - Bugzilla

cve-icon OpenCVE Enrichment

No data.