Skip to content

Commit fe64b06

Browse files
committed
Add /proc/keys to masked paths
This leaks information about keyrings on the host. Keyrings are not namespaced. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 8b42ade commit fe64b06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

oci/spec_unix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ func createDefaultSpec(ctx context.Context, id string) (*Spec, error) {
155155
MaskedPaths: []string{
156156
"/proc/acpi",
157157
"/proc/kcore",
158+
"/proc/keys",
158159
"/proc/latency_stats",
159160
"/proc/timer_list",
160161
"/proc/timer_stats",

0 commit comments

Comments
 (0)