services / Google Cloud / StatefulSets

Control Kubernetes StatefulSets objects.

StatefulSets manage Pods, with different guarantees but similar to Deployments, ReplicaSets, and DaemonSets. As such, the primary security concerns are the container images that are running on these Pods, and the resources the Pods consume from the Kubernetes cluster.


container.​statefulSets.​create

Creation of StatefulSets allows running an image inside the Kubernetes cluster. This may allow arbitrary code execution, if the cluster has access to the public internet. Secondly, creating StatefulSets drains the limited resources available to other Kubernetes workloads. Persistent volumes may be attached to the Pods, which may provide access to sensitive data.

Risks

Scope: CRITICAL

This privilege may grant access to sensitive data from a significant fraction of organizational functions, allow interruption of critical organizational services, or its exploit could lead to significant privilege escalation.

Contributed by P0 Security

© 2023–present P0 Security and contributors to the IAM Privilege Catalog