3.24 Ensure that the Containerd socket file permissions are set to 660 or more restrictively

Information

You should verify that the Containerd socket file has permissions of 660 or are configured more restrictively.

Rationale:

Only root and the members of the root group should be allowed to read and write to the default Containerd Unix socket. The Containerd socket file should therefore have permissions of 660 or more restrictive permissions.

Impact:

None.

Solution

You should execute the command below.

chmod 660 /run/containerd/containerd.sock

This sets the file permissions of the Containerd socket file to 660.

Default Value:

By default, the permissions for the Containerd socket file is correctly set to 660.

See Also

https://workbench.cisecurity.org/benchmarks/11818

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 2e67ba431479a92e7d08f4c59c2a9410ab79f96d183acfdc2689c68220bc3565