#VU62903 Integer overflow in ImageMagick


Published: 2022-05-10 | Updated: 2022-05-10

Vulnerability identifier: #VU62903

Vulnerability risk: Medium

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-27754

CWE-ID: CWE-190

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ImageMagick
Client/Desktop applications / Multimedia software

Vendor: ImageMagick.org

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in the IntensityCompare() function in /magick/quantize.c A remote attacker can pass a specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

ImageMagick: 7.0.6 - 7.0.6-10, 7.0.7 - 7.0.7.7, 7.0.8-0 - 7.0.8-68, 7.0.5-0 - 7.0.5-10, 7.0.4-0 - 7.0.4-10, 7.0.3-0 - 7.0.3-10, 7.0.2-0 - 7.0.2-10, 7.0.1-0 - 7.0.1-10, 7.0.0-0, 6.9.10-0 - 6.9.10-68, 6.9.9-0 - 6.9.9-51, 6.9.8-0 - 6.9.8-10, 6.9.7 - 6.9.7-10, 6.9.6-0 - 6.9.6.6, 6.9.5-0 - 6.9.5-10, 6.9.4-0 - 6.9.4-10, 6.9.11-57 - 6.9.11-62, 6.9.2-0 - 6.9.2-10, 6.9.1-0 - 6.9.1-10, 6.9.0-0 - 6.9.0-10, 6.9.3-0 - 6.9.3-10


External links
http://bugzilla.redhat.com/show_bug.cgi?id=1894231
http://github.com/ImageMagick/ImageMagick6/commit/d5df600d43c8706df513a3273d09aee6f54a9233
http://github.com/ImageMagick/ImageMagick/issues/1754


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability