#VU62867 Integer overflow


Published: 2022-05-09

Vulnerability identifier: #VU62867

Vulnerability risk: High

CVSSv3.1:

CVE-ID: CVE-2021-20312

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 WriteTHUMBNAILImage() function in coders/thumbnail.c. A remote attacker can pass 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.10-0 - 7.0.10-62, 7.0.6 - 7.0.6-10, 7.0.7 - 7.0.7.7, 7.0.9 - 7.0.9-27, 7.0.8-0 - 7.0.8-69, 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


CPE

External links
http://bugzilla.redhat.com/show_bug.cgi?id=1946742
http://github.com/ImageMagick/ImageMagick/commit/70aa86f5d5d8aa605a918ed51f7574f433a18482


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability