| name | cis-docker-7.3 |
| description | Ensure that all Docker swarm overlay networks are encrypted |
| category | cis-docker |
| version | 1.8.0 |
| author | cyberstrike-official |
| tags | ["cis","docker","swarm","orchestration","networking","encryption"] |
| cis_id | 7.3 |
| cis_benchmark | CIS Docker Benchmark v1.8.0 |
| tech_stack | ["linux","docker"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
7.3 Ensure that all Docker swarm overlay networks are encrypted (Manual)
Profile Applicability
Description
Ensure that all Docker swarm overlay networks are encrypted.
Rationale
By default, data exchanged between containers on nodes on the overlay network is not encrypted. This could potentially expose traffic between containers.
Impact
None
Audit Procedure
You should run the command below to ensure that each overlay network has been encrypted.
docker network ls --filter driver=overlay --quiet | xargs docker network inspect --format '{{.Name}} {{ .Options }}'
Remediation
You should create overlay networks the with --opt encrypted flag.
Default Value
By default, data exchanged in overlay networks in Docker swarm mode is not encrypted.
References
- https://docs.docker.com/network/overlay/#encrypt-traffic-on-an-overlay-network
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|
| v8 | 3.10 Encrypt Sensitive Data in Transit Encrypt sensitive data in transit. Example implementations can include: Transport Layer Security (TLS) and Open Secure Shell (OpenSSH). | | ● | ● |
| v7 | 14.4 Encrypt All Sensitive Information in Transit Encrypt all sensitive information in transit. | | ● | ● |