Skip to content

Commit

Permalink
build(deps): Bump github.com/containers/image/v5 from 5.30.0 to 5.30.1 (
Browse files Browse the repository at this point in the history
#712)

Bumps
[github.com/containers/image/v5](https://github.com/containers/image)
from 5.30.0 to 5.30.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/containers/image/releases">github.com/containers/image/v5's
releases</a>.</em></p>
<blockquote>
<h2>v5.30.1</h2>
<p>This fixes CVE-2024-3727 .</p>
<p>Digest values used throughout this library were not always validated.
That allowed attackers to trigger, when pulling untrusted images,
unexpected authenticated registry accesses on behalf of a victim
user.</p>
<p>In less common uses of this library (using other transports or not
using the <code>containers/image/v5/copy.Image</code> API), an attacker
could also trigger local path traversals or crashes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/containers/image/commit/56e750a2cab2472740a8be66355401da5191d10b"><code>56e750a</code></a>
Release 5.30.1</li>
<li><a
href="https://github.com/containers/image/commit/132678b47bae29c710589012668cb85859d88385"><code>132678b</code></a>
Merge pull request <a
href="https://redirect.github.com/containers/image/issues/2404">#2404</a>
from mtrmac/digest-unmarshal-5.30</li>
<li><a
href="https://github.com/containers/image/commit/b724ee7726a6f36989e81e7886204d69458120a2"><code>b724ee7</code></a>
Validate the tags returned by a registry</li>
<li><a
href="https://github.com/containers/image/commit/a9225e40c84ab94bd477e77ce26d055269586a6f"><code>a9225e4</code></a>
Call .Validate() before digest.Digest.String() if necessary</li>
<li><a
href="https://github.com/containers/image/commit/4a3785dddeb72ec369950ee0dc163d8f58f934bb"><code>4a3785d</code></a>
Refactor the error handling further</li>
<li><a
href="https://github.com/containers/image/commit/a802d658e350e5575a2384e20325e2b894fd0168"><code>a802d65</code></a>
Refactor the error handling path of saveStream</li>
<li><a
href="https://github.com/containers/image/commit/39e7c9180d44753bc7d46107418c8292134cf912"><code>39e7c91</code></a>
Call .Validate() before digest.Hex() / digest.Encoded()</li>
<li><a
href="https://github.com/containers/image/commit/2bcb83468beb20d33408f46a9d0e5b589409f245"><code>2bcb834</code></a>
Validate digests before using them</li>
<li>See full diff in <a
href="https://github.com/containers/image/compare/v5.30.0...v5.30.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/containers/image/v5&package-manager=go_modules&previous-version=5.30.0&new-version=5.30.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored May 13, 2024
1 parent ae48c73 commit 6616210
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/aws/aws-sdk-go-v2 v1.26.1
github.com/aws/aws-sdk-go-v2/config v1.27.11
github.com/aws/aws-sdk-go-v2/service/ecr v1.27.4
github.com/containers/image/v5 v5.30.0
github.com/containers/image/v5 v5.30.1
github.com/distribution/distribution/v3 v3.0.0-alpha.1
github.com/distribution/reference v0.6.0
github.com/docker/cli v26.1.1+incompatible
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
github.com/containerd/stargz-snapshotter/estargz v0.15.1 h1:eXJjw9RbkLFgioVaTG+G/ZW/0kEe2oEKCdS/ZxIyoCU=
github.com/containerd/stargz-snapshotter/estargz v0.15.1/go.mod h1:gr2RNwukQ/S9Nv33Lt6UC7xEx58C+LHRdoqbEKjz1Kk=
github.com/containers/image/v5 v5.30.0 h1:CmHeSwI6W2kTRWnUsxATDFY5TEX4b58gPkaQcEyrLIA=
github.com/containers/image/v5 v5.30.0/go.mod h1:gSD8MVOyqBspc0ynLsuiMR9qmt8UQ4jpVImjmK0uXfk=
github.com/containers/image/v5 v5.30.1 h1:AKrQMgOKI1oKx5FW5eoU2xoNyzACajHGx1O3qxobvFM=
github.com/containers/image/v5 v5.30.1/go.mod h1:gSD8MVOyqBspc0ynLsuiMR9qmt8UQ4jpVImjmK0uXfk=
github.com/containers/storage v1.53.0 h1:VSES3C/u1pxjTJIXvLrSmyP7OBtDky04oGu07UvdTEA=
github.com/containers/storage v1.53.0/go.mod h1:pujcoOSc+upx15Jirdkebhtd8uJiLwbSd/mYT6zDJK8=
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
Expand Down

0 comments on commit 6616210

Please sign in to comment.