Skip to content

fix(image): upgrade vulnerable Python packages #437

Closed

Description

@uniqueg

Problem

Trivy's code scanning results for the dev images (visible under ref=refs/heads/dev; the default branch main hasn't been scanned yet) include Python packages for which fixed versions exist:

All apps inherit these from FOCA's base images: cloud-registry's image shows the same setuptools and urllib3 findings.

The remaining ~165 findings are Debian packages without a fixed version yet. They are out of scope here.

Expected

  • Find where each package comes from (the base image's bundled pip, packages vendored inside other packages, or FOCA's dependencies) and upgrade it, or remove it from the runtime image where it isn't needed, e.g. pip and setuptools.
  • Raise dependency floors where FOCA itself depends on the package.
  • After the change, a Trivy scan of each image variant (ignore-unfixed) reports no fixable findings. A CI check already fails on fixable CRITICAL/HIGH; check whether MEDIUM ones should be caught too.
  • This should land before FOCA 0.17.0, so that apps get clean base images.

Activity

  1. added
    priority: high
    status: triage
    type: security
    workload: hours
    status: in progress
    and removed
    status: triage
    on Oct 23, 2026
  2. uniqueg commented on Oct 23, 2026

    @uniqueg
    MemberAuthor

    Done in #441.

  3. removed
    status: in progress
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: hightype: securityworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions