Docker Enterprise socket file permissions must be set to 660 or more restrictive.
An XCCDF Rule
Description
<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-235866r627725_rule
- Severity
- High
- References
- Updated
Remediation - Manual Procedure
chmod 660 /var/run/docker.sock
This sets the file permissions of the Docker socket file to 660.