docker / docker/scout-cli

V1.20 reports not consistent with scout.docker.com

Open
#232 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
454
Forks
134
PR merge metrics
No merged PRs in 30d

Description

Take a look at https://scout.docker.com/reports/org/darkedges/images/host/hub.docker.com/repo/darkedges%2Fpingaccess/tag/8.3.4-hi/digest/sha256%3Aecc648a974434c9cc9bdafe6fa32563a7a8c3f8ec8b4c52dc969216a477d4487/exceptions

it reports
Image

but when ran via the comand line

docker scout cves darkedges/pingaccess:8.3.4-hi              
    i New version 1.21.0 available (installed version is 1.20.0) at https://github.com/docker/scout-cli
    v SBOM obtained from attestation, 278 packages found
    v Provenance obtained from attestation
    v VEX statements obtained from attestation
    x Detected 29 vulnerable packages with a total of 52 vulnerabilities
Image

When I get an use the vex locally

docker scout vex get darkedges/pingaccess:8.3.4-hi --output pa-vex.json
    i New version 1.21.0 available (installed version is 1.20.0) at https://github.com/docker/scout-cli
    v SBOM obtained from attestation, 278 packages found
    v Provenance obtained from attestation
    v Found 53 VEX attestations for image
    v Report written to pa-vex.json

docker scout cves darkedges/pingaccess:8.3.4-hi --vex-location pa-vex.json
    i New version 1.21.0 available (installed version is 1.20.0) at https://github.com/docker/scout-cli
    v SBOM obtained from attestation, 278 packages found
    v Provenance obtained from attestation
    v Loaded 1 VEX document
    v VEX statements obtained from attestation
    x Detected 8 vulnerable packages with a total of 6 vulnerabilities
Image

it appears that I am not able to get a consistent view.

  • CLI without a local vex shows all vulnerability despites having a status of not affected [vulnerable code not in execute path]
  • CLI with local vex extract from container shows more vulnerabilities than the web interface.

Vex Statements are at https://github.com/darkedges/trivy-vex-demo/blob/main/vex/statements-scout-darkedges/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reports with the shown docker scout cves and docker scout vex get commands for darkedges/pingaccess:8.3.4-hi. Compare the web result, CLI output, and the locally loaded pa-vex.json, then inspect the linked VEX statements. Done means identifying why the views differ and documenting or correcting the inconsistent behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
cli, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.