Information
UTS namespaces provide isolation of two system identifiers: the hostname and the NIS
domain name. It is used for setting the hostname and the domain that is visible to running
processes in that namespace. Processes running within containers do not typically require
to know hostname and domain name. Hence, the namespace should not be shared with the
host.Sharing the UTS namespace with the host provides full permission to the container to
change the hostname of the host. This is insecure and should not be allowed.
Solution
Do not start a container with '--uts=host' argument.For example, do not start a container as below-docker run --rm --interactive --tty --uts=host rhel7.2Impact-None.Default Value-
By default, all containers have the UTS namespace enabled and host UTS namespace is not
shared with any container.