DKER-EE-005320 - Docker Enterprise socket file permissions must be set to 660 or more restrictive.

Information

Verify that the Docker socket file has permissions of 660 or more restrictive.

Only root and members of docker group should be allowed to read and write to default Docker UNIX socket. Hence, the Docket socket file must have permissions of 660 or more restrictive.

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

Solution

chmod 660 /var/run/docker.sock

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Docker_Enterprise_2-x_Linux-Unix_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-235866r961863_rule, STIG-ID|DKER-EE-005320, STIG-Legacy|SV-104907, STIG-Legacy|V-95769, Vuln-ID|V-235866

Plugin: Unix

Control ID: 3105a736a249f0e6e67ebed39bc31b65fd2e477cfecde42ed39b94d71211d543