Skip to content

Conversation

@dependabot-preview
Copy link

@dependabot-preview dependabot-preview bot commented Jan 1, 2021

Bumps mini_magick from 4.8.0 to 4.11.0. This update includes a security fix.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

Remote command execution via filename A remote shell execution vulnerability when using MiniMagick::Image.open with URL coming from unsanitized user input. e.g. MiniMagick::Image.open("| touch.txt")

Patched versions: >= 4.9.4 Unaffected versions: none

Release notes

Sourced from mini_magick's releases.

v4.11.0

  • Fix fetching metadata when there are GhostScript warnings (#522)
  • Fixed some method redefined warnings (#505)
  • Added MiniMagick::Image.get_image_from_pixels (#516)
  • extend MiniMagick::Tool#stack to support arguments so that it can be used with Active Storage

v4.10.1

  • Still pick up ImageMagick over GraphicsMagick if both are installed

v4.10.0

  • Prioritize discovery of ImageMagick 7 over 6 if both are installed (@drnic)
  • Add MiniMagick::Image#landscape? and #portrait? methods for checking orientiation (@theomarkkuspaul)
  • Fix Ruby 2.7 warnings (@kamipo)

v4.9.5

  • Fixed MiniMagick::Image.open not working with non-ASCII filenames anymore after previous version (thanks to @meganemura)

v4.9.4

  • Fixed a remote shell execution vulnerability when using MiniMagick::Image.open with URL coming from unsanitized user input (thanks to @rootxharsh)
  • Fixed some Ruby warnings (thanks to @koic)

v4.9.3

  • make MiniMagick::Tool not respond to everything

v4.9.2

  • Fix breakage for MRI 2.3 and below

v4.9.1

  • Properly handle EXIF parsing with ImageMagick 7
  • Show an informative exception message on Timeout::Error
  • Wait for the MiniMagick command to terminate after sending SIGTERM with open3

v4.9.0

New features

  • Support ImageMagick 7

    • MiniMagick::Tool::Convert will now generate magick convert commands (and the same for others)
    • MiniMagick::Tool::Magick was added for generating magick commands
  • MiniMagick.cli_prefix was added to configure a prefix for commands

    MiniMagick.cli_prefix = "firejail"
    MiniMagick::Tool::Magick.new { |magick| ... } # executes firejail magick ...

Other Improvements

Commits
  • 0217b4d Bump to 4.11.0
  • b7b224f Accept hash of options in #stack
  • 2fcb5f1 Remove validate_on_write from README
  • 065bfab Add YARD example tags; option (#507)
  • 630ec8d feat: added helper function to convert array of rgb pixels to form an image (...
  • eee6cc0 Parse out Ghostscript warnings in identfication (#522)
  • 986466d Fix typo (#520)
  • c32d09f Remove Ruby 1.9.3 from README (#513)
  • 13a8835 Suppress warning: method redefined; discarding old cli and cli= (#505)
  • 8ce421a Fix Imagemagick download URI on CI (#506)
  • Additional commits viewable 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.

If all status checks pass Dependabot will automatically merge this pull request during working hours.


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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

⚠️ Dependabot won't automerge this PR as it didn't detect CI on it ⚠️

You have automerging enabled for this repo but Dependabot didn't detect any CI statuses or checks. You can disable automerging on this repo from here.

Bumps [mini_magick](https://github.com/minimagick/minimagick) from 4.8.0 to 4.11.0. **This update includes a security fix.**
- [Release notes](https://github.com/minimagick/minimagick/releases)
- [Commits](minimagick/minimagick@v4.8.0...v4.11.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Jan 1, 2021
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 security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant