Summary
This update for go-containerregistry fixes the following issues:
Changes in go-containerregistry:
- update vendor.tar to address:
* bsc#1288488, CVE-2026-116591: github.com/klauspost/compress/zstd:
crafted ~27 KB two-block zstd frame makes DecodeAll and the
streaming decoder panic
- update to 0.22.1:
* Reject non-canonical IP literals in all SSRF guards
* daemon: fix stale docker/docker reference in WithClient docs
* build(deps): bump the go-deps group across 2 directories with
4 updates
* authn: do not overwrite AuthConfig.Auth when username and
password are empty
* build(deps): bump the actions group across 1 directory with 8
updates
* Support pulling images by sha512 digest
* Allow empty label and annotation values in crane mutate
* fix(build): Use dependencies.gitSource in cloudbuild_v2.yaml
* validate: support index attestation manifests and empty
configs
* name: improve error when parsing a reference with a URL
scheme
* fix(build): install binaries to /ko-app and add to PATH
* fix(release): honor declared Go toolchain
* remote: apply checkRedirectSSRF to writer-side HTTP clients
* flatten: preserve config and layer media types when
flattening
* fix(mutate): make Time layer updates lazy
* build(deps): bump the go-deps group across 2 directories with
3 updates
* remote: copy manifest annotations to referrers fallback tag
descriptors
- update to 0.22.0:
* mutate: let Time and Canonical take tarball.LayerOption
* build: add multi-architecture Cloud Build configurations for
crane, gcrane, and krane
* remote: resolve push-check credentials against the repository
* Allow single-character repository paths
* fix: add missing substitutions and workspace cleanup to new
build files
* remote: retry failed Puller and Pusher initialization
* build(deps): bump the actions group across 1 directory with 8
updates
* build(deps): bump the go-deps group across 1 directory with 3
updates
* go.mod: bump Go version + add toolchain directive to replace
.go-version file
* fix: Fix new build options and provenance
* fix(build): unify new build flow into cloudbuild_v2.yaml
- update to 0.21.8 (bsc#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.
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | go-containerregistry | 0.22.1-bp160.1.1 |
Vulnerabilities 3
-
High 8.7
compress zstd: Panic on two-block frames
compress provides various compression algorithms. Prior to 1.20.2, the zstd DecodeAll and streaming decoder paths can panic when a crafted two-block frame reaches huff0.ReadTable with an FSE normalized count of 32768 that readNCount stores in int16 as -32768.…
-
High 7.5
Unexpected memory consumption during token parsing in golang.org/x/oauth2
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
-
High 7.5
Integer Overflow or Wraparound and Out-of-bounds Write in compress
compress provides various compression algorithms. Prior to version 1.18.7, a signed integer overflow vulnerability in s2.NewDict() allows an attacker to bypass repeat index validation by supplying a dictionary with a uvarint-encoded repeat value exceeding Max…