#VU62869 Division by zero in ImageMagick


Published: 2022-05-09

Vulnerability identifier: #VU62869

Vulnerability risk: Medium

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

CVE-ID: CVE-2021-20311

CWE-ID: CWE-369

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 perform a denial of service attack.

The vulnerability exists due to a division by zero error in the sRGBTransformImage() function in MagickCore/colorspace.c . A remote attacker can pass specially crafted image file to the application and crash it.

Mitigation
Install update 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


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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker 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