In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using subpath volume mounts with any volume type (including non-privileged pods, subject to file permissions) can access files/directories outside of the volume, including the host's filesystem.
{
"versions": [
{
"introduced": "1.3.0"
},
{
"last_affected": "1.3.10"
},
{
"introduced": "1.4.0"
},
{
"last_affected": "1.4.12"
},
{
"introduced": "1.5.0"
},
{
"last_affected": "1.5.8"
},
{
"introduced": "1.6.0"
},
{
"last_affected": "1.6.13"
},
{
"introduced": "1.7.0"
},
{
"fixed": "1.7.14"
},
{
"introduced": "1.8.0"
},
{
"fixed": "1.8.9"
},
{
"introduced": "1.9.0"
},
{
"fixed": "1.9.4"
}
]
}