Skip to content

Commit

Permalink
chore: bump github.com/containers/image/v5 from 5.30.0 to 5.30.1 (#949)
Browse files Browse the repository at this point in the history
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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Mellanox/network-operator/network/alerts).

</details>
  • Loading branch information
adrianchiris committed May 23, 2024
2 parents 42ea11a + a983e70 commit c3f0c23
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 @@ -6,7 +6,7 @@ require (
github.com/Masterminds/semver/v3 v3.2.1
github.com/NVIDIA/k8s-operator-libs v0.0.0-20240214071211-ea58a3ada15c
github.com/caarlos0/env/v6 v6.10.1
github.com/containers/image/v5 v5.30.0
github.com/containers/image/v5 v5.30.1
github.com/go-logr/logr v1.4.2
github.com/google/go-containerregistry v0.19.1
github.com/google/go-containerregistry/pkg/authn/kubernetes v0.0.0-20231129213221-4fdaa32ee934
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ github.com/chai2010/gettext-go v1.0.2 h1:1Lwwip6Q2QGsAdl/ZKPCwTe9fe0CjlUbqj5bFNS
github.com/chai2010/gettext-go v1.0.2/go.mod h1:y+wnP2cHYaVj19NZhYKAwEMH2CI1gNHeQQ+5AjwawxA=
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/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down

0 comments on commit c3f0c23

Please sign in to comment.