Update Info

openSUSE-2026-370


Security update for go-containerregistry


Type: security
Severity: important
Issued: 2026-11-10
Description:
This update for go-containerregistry fixes the following issues:

- update to 0.21.8 (boo#1283692, CVE-2026-63209):
  * The artifacts attached to this release are missing SLSA
    provenance, see #2390.
  * build(deps): bump the go-deps group across 1 directory with 3
    updates
  * build(deps): bump golang.org/x/crypto from 0.45.0 to 0.52.0
    in /cmd/krane
  * build(deps): bump golang.org/x/crypto from 0.50.0 to 0.52.0
    in /pkg/authn/k8schain
  * build(deps): bump golang.org/x/net from 0.49.0 to 0.55.0 in
    /pkg/authn/kubernetes
  * build(deps): bump the go-deps group across 3 directories with
    7 updates
  * build(deps): bump the actions group across 1 directory with 5
    updates
  * Reject unsafe Windows archive paths in Extract
  * feat(goreleaser): add loong64 build support for
    crane/gcrane/krane
  * Document tag and digest reference semantics
  * remote: release pull limiter slot when body is read to EOF
  * tarball: bounds-check layer index in uncompressed
    LayerByDiffID
  * authn: read Podman auth from XDG config
  * transport: per-host bearer token exchange on cross-host
    redirect
  * mutate: bounds-check layer index when building rebase
    addendums
  * fix(daemon): copy ExposedPorts from source config in
    computeImageConfig
  * feat(remote): add WithReferrersTagFallback option
  * mutate: apply opaque-directory whiteouts (.wh..wh..opq) in
    Extract
  * tarball: use correct file extension for zstd/uncompressed
  * build(deps): bump github.com/moby/moby/client from 0.5.0 to
    0.5.1 in the go-deps group across 1 directory
  * actions: update actions to be pinned by hash
  * Bump go version to 1.26.5

- update to 0.21.7:
  * tarball: return error instead of panicking on missing
    rootfs.diff_ids
  * gcrane: honor --platform flag in copy
  * mutate: verify layer digests in Extract and Time
  * tarball: close layer readers during Write
  * build(deps): bump the actions group across 1 directory with 2
    updates
  * build(deps): bump github.com/docker/cli from
    29.4.3+incompatible to 29.5.2+incompatible in the go-deps
    group across 1 directory
  * BUGFIX: Fail with error when read exceeds maximum
  * build(deps): bump the actions group across 1 directory with 2
    updates
  * fix(name): anchor loopback registry detection
  * Reject symlinks in OCI layout blobs
  * fix(crane): avoid creating export tar on pull failure
  * feat(kubernetes): allow ignoring pull secrets
  * fix(name): preserve localhost registry references
  * pkg/registry: export ErrNotFound
  * pkg/registry: export RedirectError
  * build(deps): bump the go-deps group across 1 directory with 2
    updates
  * build(deps): bump the actions group across 1 directory with 2
    updates
  * fix: prevent SSRF in google.List() pagination
  * internal/gzip: fix goroutine leak in ReadCloserLevel
  * fix(transport): apply refreshed bearer token after cross-host
    redirect
  * build(deps): bump the go-deps group across 3 directories with
    4 updates
  * fix(tarball): normalize paths when matching files
  * transport: do not re-attach bearer token after cross-host
    redirect
  * Bump CI go version to 1.26.4

- update to 0.21.6:
  * fix: update dependencies to use new azure sdk components
  * transport: restore resp.Body in retryError so CheckError can
    parse it
  * pkg/registry: return 202 Accepted for PATCH chunk uploads
  * Follow OCI distribution spec for artifactType and annotations
  * actions: attach Codecov token to coverage tests on main
  * remote: use DeleteScope (with "delete" action) for manifest
    deletion
  * remote: limit concurrent layer pulls
  * pkg/registry: reject corrupt disk blobs
  * mutate: close layer readers during export
  * crane/flatten: preserve image media type when flattening
  * build(deps): bump goreleaser/goreleaser-action from 7.0.0 to
    7.2.1 in the actions group across 1 directory
  * build(deps): bump go.opentelemetry.io/otel from 1.36.0 to
    1.41.0
  * build(deps): bump the go-deps group across 3 directories with
    6 updates
  * Replace go-homedir with os.UserHomeDir
  * pkg/name: only treat .localhost as non-HTTPS, not .local
  * transport: block unspecified IPs (0.0.0.0, ::) in
    validateRealmURL
  * test(mutate): add Extract round-trip test for filesystem
    object preservation
  * experiments: remove deprecated support for estargz
  * build(deps): bump aws-actions/configure-aws-credentials from
    6.1.0 to 6.1.1 in the actions group
  * fix: limit HTTP response body reads to prevent OOM
  * build(deps): bump the go-deps group across 3 directories with
    6 updates
  * transport: block redirects from token server to private/link-
    local addresses (SSRF fix)
  * pkg/v1/mutate: preserve relative symlinks that stay within
    rootfs in Extract
  * validate: skip non-layer layers
  * remote: validate foreign layer URLs to prevent SSRF (fixes
    #2259)
  * remote: block SSRF via private-IP Location headers in blob
    uploads
  * fix(mutate): preserve config blob and layers for non-Docker
    OCI artifacts
  * fix: preserve per-occurrence layer identity in
    mutate.Image.Layers()
  * transport: retry HTTP 429 (Too Many Requests)
  * transport: allow bearer realm at same host:port as registry
  * Update go version to 1.26.3

- update to 0.21.5:
  * Bump docker/cli v29.4.0, moby/api v1.54.1, moby/client v0.4.0
  * update to Go 1.26.2
  * Bump aws-actions/configure-aws-credentials from 6.0.0 to
    6.1.0 in the actions group across 1 directory
  * build(deps): bump golang.org/x/tools from 0.43.0 to 0.44.0 in
    the go-deps group across 1 directory
  * **Full Changelog**: https://github.com/google/go-
    containerregistry/compare/v0.21.4...v0.21.5

- update to 0.21.4:
  * go.mod: do not make a viral minimum go version
  * Avoid pruning absolute links from extracted and flattened
    images
  * Bump the go-deps group across 3 directories with 5 updates
  * fix: update to go1.25.8, and use separate .go-version file
  * Bump CI go version to 1.26.1
  * Bump codecov/codecov-action from 5.5.2 to 5.5.3 in the
    actions group
  * fork distribution client v3 auth-challenge as an internal
    package (squashed)
  * transport: validate Bearer realm URL to prevent SSRF
  * revert path traversal and symlink escape from #2227
  * Fix pkg/v1/google/auth tests for arm64
  * goreleaser: Update goreleaser config and GH action

- update to 0.21.3:
  * Adds local file support to the `crane index` subcommand
  * migrate to github.com/moby/moby modules
  * Bump the go-deps group across 4 directories with 7 updates
  * Bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0 in the
    actions group
  * mutate: reject path traversal and symlink escape in Extract
  * tarball: detect symlink cycles in extractFileFromTar
  * bump golang to 1.25.7

- update to 0.21.2:
  * Better handle redirects to https in ping
  * **Full Changelog**: https://github.com/google/go-
    containerregistry/compare/v0.21.1...v0.21.2

- update to 0.21.1:
  * Add WithFileBufferedOpener for file-backed daemon image
    buffering
  * crane: fix case in auth response json

- update to 0.21.0:
  * fix(mutate): don't skip dir replacements via whiteout in
    export
  * Improve performance of v1.NewHash
  * Bump the actions group across 1 directory with 4 updates
  * Bump the root-deps group across 1 directory with 7 updates
  * Fix error messages in crane_test.go
  * Bump go version across packages to 1.25.6
  * Join go.mod dependency updates
  * Bump the go-deps group across 3 directories with 3 updates
  * Disable taint gosec lints
  * Update go version used in goreleaser

- update to 0.20.7:
  * Fix ArgsEscaped lint directive
  * transport: Fix broken links to distribution docs
  * fix(remote): using customized retry predicate func if
    provided
  * Adding docker file
  * crane: Add timestamp to flatten layer
  * feat(remote): pass retryBackoff option to transport
  * Expose clobber refusal error
  * Build artifacts for riscv64
  * Update dependencies and deprecate DockerVersion field

- update to 0.20.7:
  * Fix ArgsEscaped lint directive
  * transport: Fix broken links to distribution docs
  * fix(remote): using customized retry predicate func if
    provided
  * Adding docker file
  * crane: Add timestamp to flatten layer
  * feat(remote): pass retryBackoff option to transport
  * Expose clobber refusal error
  * Build artifacts for riscv64
  * Update dependencies and deprecate DockerVersion field

- update to 0.20.6:
  * Ensure that tag name is not empty if name contains colon
  * Bump some deps

- update to 0.20.5:
  * build(deps): bump docker/docker to v28.0.0+incompatible
  * Migrate linter to v2
  * bump go version + bump deps
  * implement TextMarshaler/JSONMarshaler more consistently
  * Update CodeQL permissions
  * Update goreleaser permissions
  * Update provenance action in release
  * Update validator action


              

Packages


  • go-containerregistry-0.21.8-bp157.2.3.1