STIGQter STIGQter: STIG Summary: Docker Enterprise 2.x Linux/UNIX Security Technical Implementation Guide Version: 2 Release: 1 Benchmark Date: 23 Apr 2021:

Docker Enterprise socket file ownership must be set to root:docker.

DISA Rule

SV-235865r627722_rule

Vulnerability Number

V-235865

Group Title

SRG-APP-000516

Rule Version

DKER-EE-005310

Severity

CAT I

CCI(s)

Weight

10

Fix Recommendation

chown root:docker /var/run/docker.sock

This sets the ownership to root and group-ownership to docker for default Docker socket file.

Check Contents

Ensure that Docker socket file ownership is set to root:docker.

Execute the below command to verify that the Docker socket file is owned by root and group-owned by docker:

stat -c %U:%G /var/run/docker.sock

If docker.sock file ownership is not set to root:docker, this is a finding.

Vulnerability Number

V-235865

Documentable

False

Rule Version

DKER-EE-005310

Severity Override Guidance

Ensure that Docker socket file ownership is set to root:docker.

Execute the below command to verify that the Docker socket file is owned by root and group-owned by docker:

stat -c %U:%G /var/run/docker.sock

If docker.sock file ownership is not set to root:docker, this is a finding.

Check Content Reference

M

Target Key

5281

Comments