Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Bump github.com/containers/image/v5 from 5.30.0 to 5.30.1 #901

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2024

Bumps github.com/containers/image/v5 from 5.30.0 to 5.30.1.

Release notes

Sourced from github.com/containers/image/v5's releases.

v5.30.1

This fixes CVE-2024-3727 .

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.

In less common uses of this library (using other transports or not using the containers/image/v5/copy.Image API), an attacker could also trigger local path traversals or crashes.

Commits
  • 56e750a Release 5.30.1
  • 132678b Merge pull request #2404 from mtrmac/digest-unmarshal-5.30
  • b724ee7 Validate the tags returned by a registry
  • a9225e4 Call .Validate() before digest.Digest.String() if necessary
  • 4a3785d Refactor the error handling further
  • a802d65 Refactor the error handling path of saveStream
  • 39e7c91 Call .Validate() before digest.Hex() / digest.Encoded()
  • 2bcb834 Validate digests before using them
  • See full diff in compare view

Dependabot compatibility score

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 commands and options

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.

updated-dependencies:
- dependency-name: github.com/containers/image/v5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner May 20, 2024 22:10
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 20, 2024
Copy link

@perdasilva perdasilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@perdasilva perdasilva added this pull request to the merge queue May 21, 2024
Merged via the queue into main with commit dc8a563 May 21, 2024
7 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/containers/image/v5-5.30.1 branch May 21, 2024 15:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant