Skip to content

[SECURITY] Unpinned builder base image uses :latest tag #2119

Description

@dgn

The Dockerfile uses registry.access.redhat.com/ubi10/ubi:latest — a mutable tag with no SHA256 digest pin. A supply-chain attack on the base image registry would be silently pulled into builds.

FROM registry.access.redhat.com/ubi10/ubi:latest AS packager

Suggested Fix

Pin to a specific SHA digest: ubi10/ubi@sha256:<digest> and update via automated tooling (e.g. Renovate, Dependabot).


From code inspection (2026-07-05, main @ 86fac7a). Severity: 🟠 Medium

Activity

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

    ai-generatedIssue generated by AI analysisbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions