Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DKL-LI-0001 erroneously reported for Wolfi images #239

Open
jemag opened this issue Aug 22, 2023 · 0 comments
Open

DKL-LI-0001 erroneously reported for Wolfi images #239

jemag opened this issue Aug 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jemag
Copy link

jemag commented Aug 22, 2023

Description

Dockle currently reports DKL-LI-0001 as a potential problems with Wolfi images from chainguard:
image
image

This is however not a problem with Wolfi images as it cannot be used for escalation (see chainguard's explanation here). It seems that overall CVE-2019-5021 is contentious and it should perhaps have been disputed originally. I think it might make sense to remove DKL-LI-0001 from Dockle completely.

What did you expect to happen?
No checkpoint triggered

What happened instead?
Checkpoint triggered

Output of run with -debug:

2023-08-22T17:21:11.781-0400    DEBUG   There is no .dockleignore file
2023-08-22T17:21:11.781-0400    DEBUG   Skipped update confirmation
2023-08-22T17:21:11.781-0400    DEBUG   Start assessments...
2023-08-22T17:21:18.356-0400    DEBUG   Start scan : password files
2023-08-22T17:21:18.356-0400    DEBUG   Start scan : /etc/passwd
2023-08-22T17:21:18.356-0400    DEBUG   Start scan : /etc/group
2023-08-22T17:21:18.357-0400    DEBUG   Start scan : /etc/hosts
2023-08-22T17:21:18.357-0400    DEBUG   Start scan : credential files
2023-08-22T17:21:18.357-0400    DEBUG   Scan start : config file
2023-08-22T17:21:18.358-0400    DEBUG   Scan start : DOCKER_CONTENT_TRUST
2023-08-22T17:21:18.358-0400    DEBUG   Start scan : cache files
2023-08-22T17:21:18.358-0400    DEBUG   End assessments...
FATAL   - DKL-LI-0001: Avoid empty password
        * No password user found! username : root
WARN    - DKL-DI-0006: Avoid latest tag
        * Avoid 'latest' tag
INFO    - CIS-DI-0005: Enable Content trust for Docker
        * export DOCKER_CONTENT_TRUST=1 before docker pull/build
INFO    - CIS-DI-0006: Add HEALTHCHECK instruction to the container image
        * not found HEALTHCHECK statement

Output of dockle -v:

dockle version 0.4.13

Additional details (base image name, container registry info...):
cgr.dev/chainguard/jre:latest

@jemag jemag added the bug Something isn't working label Aug 22, 2023
@tomoyamachi tomoyamachi self-assigned this Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants