GLSA 202101-36: ImageMagick: Command injection

Severity:normal
Title:ImageMagick: Command injection
Date:01/29/2021
Bugs: #756829
ID:202101-36

Synopsis

A vulnerability in ImageMagick's handling of PDF was discovered possibly allowing code execution.

Background

A collection of tools and libraries for many image formats.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-gfx/imagemagick < 7.0.10.41-r1 >= 7.0.10.41-r1 All supported architectures

Description

A flaw in ImageMagick’s handling of password protected PDFs was discovered.

Impact

A remote attacker could entice a user to open a specially crafted PDF using ImageMagick possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

Do not open untrusted PDFs.

Resolution

All ImageMagick 7 users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose
      ">=media-gfx/imagemagick-7.0.10.41-r1"
    

All ImageMagick 6 users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.9.11.41-r1"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202101-36.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!