1. Home
  2. Security Hardening
  3. CIS Docker Community Edition V1.1.0 L1 Docker
  4. Ensure sensitive host system directories are not mounted on containers

Ensure sensitive host system directories are not mounted on containers

Details

Sensitive host system directories such as below should not be allowed to be mounted as container volumes especially in read-write mode.

/

/boot

/dev

/etc

/lib

/proc

/sys

/usr

Rationale:

If sensitive directories are mounted in read-write mode, it would be possible to make changes to files within those sensitive directories. The changes might bring down security implications or unwarranted changes that could put the Docker host in compromised state.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Do not mount host sensitive directories on containers especially in read-write mode.
Impact:
None.
Default Value:
Docker defaults to a read-write volume but you can also mount a directory read-only. By default, no sensitive host directories are mounted on containers.

Supportive Information

The following resource is also helpful.

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

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles