1. Home
  2. Security Hardening
  3. DISA STIG Docker Enterprise 2.x Linux Unix V2R1
  4. DKER-EE-001970 – SSH must not run within Linux containers for Docker Enterprise.

DKER-EE-001970 – SSH must not run within Linux containers for Docker Enterprise.

Details

SSH server should not be running within the container. The user should instead use Universal Control Plane (UCP) to console in to running containers.

Running SSH within the container increases the complexity of security management by making it:

– Difficult to manage access policies and security compliance for SSH server

– Difficult to manage keys and passwords across various containers

– Difficult to manage security upgrades for SSH server

– It is possible to have shell access to a container without using SSH, the needlessly increasing the complexity of security management should be avoided

By default, SSH server is not running inside the container. Only one process per container is allowed.

Solution

This fix only applies to the use of Docker Engine – Enterprise on a Linux host operating system and should be executed on all nodes in a Docker Enterprise cluster.

Remove SSH packages from all Docker base images in use in the user’s environment.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles