DKER-EE-006270 - Docker Enterprise Swarm services must be bound to a specific host interface.

Information

By default, the docker swarm services will listen to all interfaces on the host, which may not be necessary for the operation of the swarm where the host has multiple network interfaces.

When a swarm is initialized the default value for the --listen-addr flag is 0.0.0.0:2377 which means that the swarm services will listen on all interfaces on the host. If a host has multiple network interfaces this may be undesirable as it may expose the docker swarm services to networks which are not involved in the operation of the swarm.

By passing a specific IP address to the --listen-addr, a specific network interface can be specified limiting this exposure.

Solution

Rebuild the cluster and utilize the --listen-addr parameter.

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-7b., CAT|II, CCI|CCI-000382, Rule-ID|SV-235873r960966_rule, STIG-ID|DKER-EE-006270, STIG-Legacy|SV-104921, STIG-Legacy|V-95783, Vuln-ID|V-235873

Plugin: Unix

Control ID: 63f0a7ee1417c9c09697778672f3c6b5be5e8a0a6a088dbcd715a3b431737d95