GLSA 202003-38: PECL Imagick: Arbitrary code execution

Severity:high
Title:PECL Imagick: Arbitrary code execution
Date:03/19/2020
Bugs: #687030
ID:202003-38

Synopsis

A vulnerability in Imagick PHP extension might allow an attacker to execute arbitrary code.

Background

Imagick is a PHP extension to create and modify images using the ImageMagick library.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-php/pecl-imagick < 3.4.4 >= 3.4.4 All supported architectures

Description

An out-of-bounds write vulnerability was discovered in the Imagick PHP extension.

Impact

A remote attacker, able to upload specially crafted images which will get processed by Imagick, could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Imagick PHP extension users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=dev-php/pecl-imagick-3.4.4"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202003-38.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!