Add /proc/keys to masked paths
This leaks information about keyrings on the host. Keyrings are not namespaced. Signed-off-by: Justin Cormack <justin.cormack@docker.com> Upstream-commit: de23cb939858a66829d5b75057c7ac664c5acda5 Component: engine
This commit is contained in:
@ -115,6 +115,7 @@ func DefaultLinuxSpec() specs.Spec {
|
||||
s.Linux = &specs.Linux{
|
||||
MaskedPaths: []string{
|
||||
"/proc/kcore",
|
||||
"/proc/keys",
|
||||
"/proc/latency_stats",
|
||||
"/proc/timer_list",
|
||||
"/proc/timer_stats",
|
||||
|
||||
Reference in New Issue
Block a user