Description

Helm chart for CSI Driver for dynamic provisioning of ZFS Persistent Local Volumes. For instructions on how to use this helm chart, see - https://openebs.github.io/zfs-localpv/

Overview

IdentityNamespaceAutomountSecretsPermissionsWorkloadsRisk
openebs-zfs-controller-sadefault295Critical
openebs-zfs-node-sadefault92High

Numbers in the last two columns indicate how many bindings or workloads involve each ServiceAccount.


Identities

🤖 openebs-zfs-controller-sa

Namespace: default  |  Automount:

🔑 Permissions (29)

RoleResourceVerbsRiskTags
ClusterRole openebs-zfs-provisioner-rolecore/podsget · list · patch · update · watchCriticalPotentialPrivilegeEscalation PrivilegeEscalation Tampering WorkloadExecution
ClusterRole openebs-zfs-provisioner-rolecore/servicescreate · delete · get · list · patch · update · watchCriticalDenialOfService NetworkManipulation ServiceExposure Tampering
ClusterRole openebs-zfs-provisioner-rolecore/namespaces*HighClusterStructure ClusterWideAccess DenialOfService InformationDisclosure NamespaceLifecycle (+3 more)
ClusterRole openebs-zfs-provisioner-role*/zfsbackups*HighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-provisioner-role*/zfsnodes*HighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-provisioner-role*/zfsrestores*HighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-provisioner-role*/zfssnapshots*HighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-provisioner-role*/zfsvolumes*HighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-provisioner-rolestorage.k8s.io/csinodesget · list · watchMediumInformationDisclosure NodeAccess Reconnaissance StorageDetailsDisclosure
ClusterRole openebs-zfs-provisioner-rolestorage.k8s.io/csistoragecapacities*LowClusterWideAccess InformationDisclosure Reconnaissance StorageDetailsDisclosure WildcardPermission
ClusterRole openebs-zfs-snapshotter-roleapiextensions.k8s.io/customresourcedefinitionscreate · delete · list · watchLow
ClusterRole openebs-zfs-provisioner-rolecore/eventscreate · list · patch · update · watchLow
ClusterRole openebs-zfs-snapshotter-rolecore/eventscreate · list · patch · update · watchLow
ClusterRole openebs-zfs-provisioner-rolecoordination.k8s.io/leasescreate · delete · get · list · update · watchLow
ClusterRole openebs-zfs-provisioner-rolecore/nodesget · list · watchLow
ClusterRole openebs-zfs-provisioner-rolecore/persistentvolumeclaimsget · list · update · watchLow
ClusterRole openebs-zfs-snapshotter-rolecore/persistentvolumeclaimsget · list · watchLow
ClusterRole openebs-zfs-provisioner-rolecore/persistentvolumeclaims/statuspatch · updateLow
ClusterRole openebs-zfs-provisioner-rolecore/persistentvolumescreate · delete · get · list · patch · update · watchLow
ClusterRole openebs-zfs-snapshotter-rolecore/persistentvolumesget · list · watchLow
ClusterRole openebs-zfs-provisioner-rolecore/secretsget · listLow
ClusterRole openebs-zfs-snapshotter-rolecore/secretsget · listLow
ClusterRole openebs-zfs-provisioner-rolestorage.k8s.io/storageclassesget · list · watchLow
ClusterRole openebs-zfs-snapshotter-rolestorage.k8s.io/storageclassesget · list · watchLow
ClusterRole openebs-zfs-snapshotter-rolesnapshot.storage.k8s.io/volumesnapshotclassesget · list · watchLow
ClusterRole openebs-zfs-snapshotter-rolesnapshot.storage.k8s.io/volumesnapshotcontentscreate · delete · get · list · patch · update · watchLow
ClusterRole openebs-zfs-snapshotter-rolesnapshot.storage.k8s.io/volumesnapshotcontents/statuspatch · updateLow
ClusterRole openebs-zfs-snapshotter-rolesnapshot.storage.k8s.io/volumesnapshotsget · list · patch · update · watchLow
ClusterRole openebs-zfs-snapshotter-rolesnapshot.storage.k8s.io/volumesnapshots/statusupdateLow

⚠️ Potential Abuse (10)

The following security risks were found based on the above permissions:

📦 Workloads (5)

KindNameContainerImage
Deploymentzfs-localpv-controllercsi-provisionerregistry.k8s.io/sig-storage/csi-provisioner:v5.2.0
Deploymentzfs-localpv-controllercsi-resizerregistry.k8s.io/sig-storage/csi-resizer:v1.13.2
Deploymentzfs-localpv-controllercsi-snapshotterregistry.k8s.io/sig-storage/csi-snapshotter:v8.2.0
Deploymentzfs-localpv-controlleropenebs-zfs-pluginopenebs/zfs-driver:2.8.0
Deploymentzfs-localpv-controllersnapshot-controllerregistry.k8s.io/sig-storage/snapshot-controller:v8.2.0

🤖 openebs-zfs-node-sa

Namespace: default  |  Automount:

🔑 Permissions (9)

RoleResourceVerbsRiskTags
ClusterRole openebs-zfs-driver-registrar-role*/zfsbackupscreate · get · list · patch · update · watchHighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-driver-registrar-role*/zfsnodescreate · get · list · patch · update · watchHighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-driver-registrar-role*/zfsrestorescreate · get · list · patch · update · watchHighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-driver-registrar-role*/zfssnapshotscreate · get · list · patch · update · watchHighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-driver-registrar-role*/zfsvolumescreate · get · list · patch · update · watchHighClusterWideAccess WildcardPermission
ClusterRole openebs-zfs-driver-registrar-rolecore/eventscreate · get · list · patch · update · watchMediumInformationDisclosure OperationalData Reconnaissance
ClusterRole openebs-zfs-driver-registrar-rolecore/nodesget · listLow
ClusterRole openebs-zfs-driver-registrar-rolecore/persistentvolumesget · listLow
ClusterRole openebs-zfs-driver-registrar-rolecore/servicesget · listLow

⚠️ Potential Abuse (3)

The following security risks were found based on the above permissions:

📦 Workloads (2)

KindNameContainerImage
DaemonSetzfs-localpv-nodecsi-node-driver-registrarregistry.k8s.io/sig-storage/csi-node-driver-registrar:v2.13.0
DaemonSetzfs-localpv-nodeopenebs-zfs-pluginopenebs/zfs-driver:2.8.0