Skip to content

Commit 06204dc

Browse files
justincormacknalind
authored andcommitted
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>
1 parent 56ebde7 commit 06204dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

oci/defaults_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ func DefaultSpec() specs.Spec {
8080
MaskedPaths: []string{
8181
"/proc/acpi",
8282
"/proc/kcore",
83+
"/proc/keys",
8384
"/proc/latency_stats",
8485
"/proc/timer_list",
8586
"/proc/timer_stats",

0 commit comments

Comments
 (0)