- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202101-36
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: ImageMagick: Command injection
     Date: January 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
    -------------------------------------------------------------------
  1  media-gfx/imagemagick     < 6.9.11.41-r1         >= 6.9.11.41-r1
                               < 7.0.10.41-r1         >= 7.0.10.41-r1

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 -v ">=media-gfx/imagemagick-7.0.10.41-r1"

All ImageMagick 6 users should upgrade to the latest version:

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

References
==========

[ 1 ] CVE-2020-29599
      https://nvd.nist.gov/vuln/detail/CVE-2020-29599

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202101-36

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
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2021 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.

https://creativecommons.org/licenses/by-sa/2.5