Skip to content

Commit 6e041cd

Browse files
chore(deps): bump oras.land/oras-go/v2 from 2.6.1 to 2.6.2 (#268)
Bumps [oras.land/oras-go/v2](https://github.com/oras-project/oras-go) from 2.6.1 to 2.6.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/oras-project/oras-go/releases">oras.land/oras-go/v2's releases</a>.</em></p> <blockquote> <h2>v2.6.2</h2> <p>This is a security patch release addressing advisories in the content and remote layers, plus additional hardening and bug fixes since v2.6.1.</p> <h2>Security Fixes</h2> <ul> <li>Resolve the hardlink (<code>TypeLink</code>) target before passing it to <code>os.Link</code>, preventing a crafted OCI artifact from hardlinking a file outside the extraction directory via the process CWD (<a href="https://redirect.github.com/oras-project/oras-go/issues/1232">#1232</a>, <a href="https://github.com/oras-project/oras-go/security/advisories/GHSA-fxhp-mv3v-67qp">GHSA-fxhp-mv3v-67qp</a> / CVE-2026-50163)</li> <li>Bound tag and referrer list pagination to prevent a malicious or misbehaving registry from advertising an endless page chain and forcing unbounded client requests (client-side DoS) (<a href="https://redirect.github.com/oras-project/oras-go/issues/1215">#1215</a>)</li> </ul> <h2>Bug Fixes</h2> <ul> <li>Bound <code>content.ReadAll</code> allocation by actual content read rather than the descriptor size, correcting the over-broad 32 MiB cap introduced for GHSA-f36w-mj3v-6jqv so legitimate in-memory <code>Push</code>/<code>FetchAll</code>/<code>FetchBytes</code> are not rejected (<a href="https://redirect.github.com/oras-project/oras-go/issues/1223">#1223</a>)</li> </ul> <h2>Other Changes</h2> <ul> <li>Bump <code>golang.org/x/sync</code> from 0.20.0 to 0.21.0 (<a href="https://redirect.github.com/oras-project/oras-go/issues/1208">#1208</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/oras-project/oras-go/commit/105715ee12eac6895ec736a075285c34d9f2eeb6"><code>105715e</code></a> release: v2.6.2 (<a href="https://redirect.github.com/oras-project/oras-go/issues/1235">#1235</a>)</li> <li><a href="https://github.com/oras-project/oras-go/commit/31da1963f8c327dd089cd29faeae95cf0fc50842"><code>31da196</code></a> Merge commit from fork</li> <li><a href="https://github.com/oras-project/oras-go/commit/adab2f25ea95ef4e6e41f50db9266a6701399422"><code>adab2f2</code></a> Merge commit from fork</li> <li><a href="https://github.com/oras-project/oras-go/commit/948a1dc4bd97da078a4f5f1a833d3e06d33793d6"><code>948a1dc</code></a> build(deps): bump golang.org/x/sync from 0.21.0 to 0.22.0 (<a href="https://redirect.github.com/oras-project/oras-go/issues/1242">#1242</a>)</li> <li><a href="https://github.com/oras-project/oras-go/commit/c463c654ab3ef34422c1764cd619806cebf20451"><code>c463c65</code></a> fix: prevent hardlink path traversal via process CWD (GHSA-fxhp-mv3v-67qp) (#...</li> <li><a href="https://github.com/oras-project/oras-go/commit/91c04abac3454f1710da28b43d9a95f8a86f228f"><code>91c04ab</code></a> fix(content): bound ReadAll allocation by content, not descriptor size (<a href="https://redirect.github.com/oras-project/oras-go/issues/1223">#1223</a>)</li> <li><a href="https://github.com/oras-project/oras-go/commit/314e8366361528882b6540e53bee9c2323338478"><code>314e836</code></a> fix: bound tag and referrer list pagination to prevent unbounded requests (<a href="https://redirect.github.com/oras-project/oras-go/issues/1">#1</a>...</li> <li><a href="https://github.com/oras-project/oras-go/commit/122e88f38be4e05d095bef13d5b5fe6cdc2c1bbf"><code>122e88f</code></a> build(deps): bump golang.org/x/sync from 0.20.0 to 0.21.0 (<a href="https://redirect.github.com/oras-project/oras-go/issues/1208">#1208</a>)</li> <li>See full diff in <a href="https://github.com/oras-project/oras-go/compare/v2.6.1...v2.6.2">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 62723bc commit 6e041cd

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ require (
360360
golang.org/x/mod v0.36.0 // indirect
361361
golang.org/x/net v0.56.0 // indirect
362362
golang.org/x/oauth2 v0.36.0 // indirect
363-
golang.org/x/sync v0.21.0 // indirect
363+
golang.org/x/sync v0.22.0 // indirect
364364
golang.org/x/sys v0.46.0 // indirect
365365
golang.org/x/term v0.44.0 // indirect
366366
golang.org/x/text v0.38.0 // indirect
@@ -385,7 +385,7 @@ require (
385385
k8s.io/kubectl v0.36.2 // indirect
386386
k8s.io/streaming v0.36.2 // indirect
387387
k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 // indirect
388-
oras.land/oras-go/v2 v2.6.1 // indirect
388+
oras.land/oras-go/v2 v2.6.2 // indirect
389389
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
390390
sigs.k8s.io/kustomize/kyaml v0.21.1 // indirect
391391
sigs.k8s.io/randfill v1.0.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,8 +1173,8 @@ golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
11731173
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
11741174
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
11751175
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
1176-
golang.org/x/sync v0.21.0 h1:HLII4xRRTtCRkxYp4HNFF0Js/Og6q2i++KXbg0gHCwM=
1177-
golang.org/x/sync v0.21.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
1176+
golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek=
1177+
golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
11781178
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
11791179
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
11801180
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1351,8 +1351,8 @@ k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 h1:wU4tMEhLGgIbLvXQb1cfN+EcM0wf7
13511351
k8s.io/utils v0.0.0-20260507154919-ff6756f316d2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk=
13521352
ocm.software/ocm v0.45.0 h1:FE5LRukiJEZL5AkSZ+9hcedXBEi4OFJvMJzGSM6QBUs=
13531353
ocm.software/ocm v0.45.0/go.mod h1:5oHkMct1W692WURa+7lyP/wSSXGU3rlK3TfmR3iyoaw=
1354-
oras.land/oras-go/v2 v2.6.1 h1:bonOEkjLfp8tt6qXWRRWP6p1F+9octchOf2EqnWB4Zs=
1355-
oras.land/oras-go/v2 v2.6.1/go.mod h1:dhtFrFOuZuDtAVeZ9FUnaa5zfzplG3ZnFX9/uH1J/Yk=
1354+
oras.land/oras-go/v2 v2.6.2 h1:N04RXngAp1LJKTG6ifz3xHPipasEkWr+hFmInja5YKo=
1355+
oras.land/oras-go/v2 v2.6.2/go.mod h1:PlTtg4JTDJkDe8yVHpM2wz7/YDc00GVas+i4jAW2TZ4=
13561356
pgregory.net/rapid v1.2.0 h1:keKAYRcjm+e1F0oAuU5F5+YPAWcyxNNRK2wud503Gnk=
13571357
pgregory.net/rapid v1.2.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
13581358
sigs.k8s.io/controller-runtime v0.24.1 h1:miPEwrmirImAvgME1L9qebGHrOnGJoVmVdtOU9fRfo4=

0 commit comments

Comments
 (0)