Docker
TMA-DOCKER-4.10
Ensure only verified packages are installed
Opis
You should verify the authenticity of packages before installing them into images. Verifying authenticity of software packages is essential for building a secure container image. Packages with no known provenance could potentially be malicious or have vulnerabilities that could be exploited. Reported as a manual review item: the audit needs a site-specific judgement.
Kako se proverava
Metod provere: Ručni pregled
Run the command below to get the list of images: docker images Run the command below for each image in the list above, and check how the authenticity of the packages is being determined. This could be via the use of GPG keys or other secure package distribution mechanisms. docker history <IMAGE ID> Alternatively, if you have access to Dockerfile for the image, verify that the authenticity of the packages is checked.
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
You should use a secure package distribution mechanism of your choice to ensure the authenticity of software packages.
Svojstva
- Operativni sistemi
- Bilo koji
- Oznake
- dockermanual
- Referenca
- CIS Docker Benchmark v1.9.0 - 4.10 Ensure only verified packages are installed