CVE-2019-11247

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

Published Aug 29, 2019 CVSS 3.1 · 8.1 High EPSS 2.1% KEV · Not listed
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.

Remediation

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.

Tracking

Sign in to view the affected projects.

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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Sep 16, 2024, 6:04 PM
Reserved
Apr 17, 2019, 12:00 AM
Status
Modified
Published
Aug 29, 2019, 1:15 AM
Modified
Jun 17, 2026, 2:12 AM
Severity
Moderate
Public date
Aug 5, 2019, 12:00 AM