File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
content/en/docs/concepts/security Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,9 @@ considered weak.
121
121
122
122
### Persistent volume creation
123
123
124
- Creation of PersistentVolumes includes creation of ` hostPath ` -typed volumes, providing access to the underlying host filesystem.
124
+ If someone - or some application - is allowed to create arbitrary PersistentVolumes, that access
125
+ includes the creation of ` hostPath ` volumes, which then means that a Pod would get access
126
+ to the underlying host filesystem(s) on the associated node. Granting that ability is a security risk.
125
127
126
128
There are many ways a container with unrestricted access to the host filesystem can escalate privileges, including
127
129
reading data from other containers, and abusing the credentials of system services, such as Kubelet.
You can’t perform that action at this time.
0 commit comments