mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
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>
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