Docker
TMA-DOCKER-4.4
Ensure images are scanned and rebuilt to include security patches
Descrição
Images should be scanned frequently for any vulnerabilities. You should rebuild all images to include these patches and then instantiate new containers from them. Vulnerabilities are loopholes or bugs that can be exploited by hackers or malicious users, and security patches are updates to resolve these vulnerabilities. Reported as a manual review item: the audit needs a site-specific judgement.
Como é verificado
Método de auditoria: Revisão manual
List all the running instances of containers by executing the command below: docker ps --quiet For each container instance, use the package manager within the container (assuming there is one available) to check for the availability of security patches. Alternatively, run image vulnerability assessment tools to scan all the images in your environment.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Images should be re-built ensuring that the latest version of the base images are used, to keep the operating system patch level at an appropriate level. Once the images have been re-built, containers should be re-started making use of the updated images.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- dockermanual
- Referência
- CIS Docker Benchmark v1.9.0 - 4.4 Ensure images are scanned and rebuilt to include security patches