ADVISORIES

openEuler Security Advisory

OESA-2021-1150

rubygem-mini_magick security update

Details

A ruby wrapper for ImageMagick command line. Using MiniMagick the ruby processes memory remains small (it spawns ImageMagick's command line program mogrify which takes up some memory as well, but is much smaller compared to RMagick).

Security Fix(es):

In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename could cause remote command execution because Image.open input is directly passed to Kernel#open, which accepts a '|' character followed by a command.(CVE-2019-13574)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1rubygem-mini_magick
All versions before 4.8.0-3.oe1 (fixed in 4.8.0-3.oe1)

References