🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

deps(go): bump module oras.land/oras-go/v2 to v2.6.4 - #11084

Merged
olblak merged 2 commits into
mainfrom
updatecli_main_1d2712f911bf78ef2946f7b9c3a03d3a82a36b385a2148641e0f06a6a8903208
Oct 30, 2026
Merged

olblak merged 2 commits into
mainfrom
updatecli_main_1d2712f911bf78ef2946f7b9c3a03d3a82a36b385a2148641e0f06a6a8903208

Conversation

@updateclibot

@updateclibot updateclibot Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

deps(go): bump module oras.land/oras-go/v2

clean: go mod tidy

ran shell command "go mod tidy"

deps(go): bump module oras.land/oras-go/v2 to v2.6.4

go.mod updated Module path "oras.land/oras-go/v2" version from "v2.6.3" to "v2.6.4"

v2.6.4
This is a patch release with security fixes to the file store and auth client, and bug fixes to the file store, OCI store, and retry layers since v2.6.3.

## Security Fixes

- Remove a symlink at the target path before writing in the file store's `pushFile` and `pushDir`, and open files with `O_NOFOLLOW` on unix, so a pushed blob can no longer be written through a planted terminal symlink to a file outside the store root (GHSA-2hhj-vj64-hx3j)
- Skip restoring times and mode on symlinks during tar extraction, and replace a symlink at a directory entry's path with a real directory, so a crafted unpack layer can no longer change the timestamps or permissions of files outside the store root (GHSA-jh75-xv39-vhvx)
- Compare each redirect hop against the first request in `auth.Client`, so a second same-origin hop on the redirect target no longer restores the `Authorization` header removed by the GHSA-vh4v-2xq2-g5cg guard, and refuse to resend an OAuth2 token request body (password or refresh token) to another origin on a 307 or 308 (GHSA-xc97-9f2f-9hrx)
- Resolve non-literal bearer realm hosts and reject realms resolving to loopback, link-local, private, unspecified, or carrier-grade NAT addresses, and re-validate every redirect hop of distribution and OAuth2 token requests, so a realm such as `localhost` or a DNS name pointing at an internal address no longer bypasses `validateRealm` (GHSA-mm27-wq9c-mxxr)

## Bug Fixes

- Resolve tar hard link targets from the archive root rather than the link's directory, so a hard link whose target sits in another directory extracts instead of failing with "no such file or directory" (#1510, #1572)
- Skip digest-named directories under `blobs/<alg>/` during OCI store `GC`, which previously aborted on a non-empty directory; `os.Remove` errors now include the blob path (#1526, #1579, #1588)
- Retry on connection reset by peer and unexpected EOF in `retry.DefaultPredicate`, so a single reset from a registry no longer fails the whole operation (#1567, #1570)


v2.6.3
This is a patch release with bug fixes to the file store, OCI store, remote registry, auth client, copy, and retry layers since v2.6.2.

## Bug Fixes

- Validate the descriptors resolved through the referrers tag schema fallback, so a registry that resolves the fallback tag to the subject itself no longer has the subject's own platform manifests reported as its referrers (#1403, #1461)
- Drop a moved tag from its previous manifest's tag set, so `Delete` with `AutoGC` no longer keeps a manifest whose tag has moved to another manifest, along with the blobs only it references, until an explicit `GC()` (#1468, #1469, #1475)
- Remove a file from the file store when saving it fails verification, instead of leaving a short or mismatched file at the target path where it is indistinguishable from a successful pull (#1456)
- Advance the subject walk in `gcIndex`, which re-read the first hop on every pass: garbage collection could spin without progress, and a referrer reaching the graph further up the chain was never recognised (#1295, #1458)
- Restore duplicate named layers when `IgnoreNoName` discards the manifest, which previously returned early and silently skipped the second name (#1441, #1452, #1459)
- Re-push a node's manifest successors and retry once when the destination rejects a manifest push as missing referenced content, so `CopyGraph` self-heals a partially copied graph instead of failing (#1212, #1213)
- Restore the default limit of 10 redirects in `auth.Client`, which v2.6.1 and v2.6.2 stopped enforcing when no `CheckRedirect` is set (#1500, #1514, #1519)
- Skip the random term in `retry.ExponentialBackoff` when the jitter is zero, which previously panicked on the first retry because `rand.Int64N` was called with a zero range (#1549, #1551)

## Other Changes

- Bump `golang.org/x/sync` from 0.22.0 to 0.24.0 (#1413, #1529)
- Move the v2 release to a `release`-label triggered workflow authenticated with a PAT, and document the flow in `RELEASES.md` (#1371, #1422, #1439, #1446)
- Enable CI workflows for the `v2` branch (#1531)




GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

Made with ❤️️ by updatecli
@updateclibot updateclibot Bot added the dependencies Pull requests that update a dependency file label Oct 29, 2026
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4dab85d0-1488-41b9-80be-59dc482490ae

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@olblak
olblak enabled auto-merge (squash) October 30, 2026 06:50
@olblak
olblak merged commit e37593a into main Oct 30, 2026
8 of 9 checks passed
@olblak
olblak deleted the updatecli_main_1d2712f911bf78ef2946f7b9c3a03d3a82a36b385a2148641e0f06a6a8903208 branch October 30, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant