#VU20299 Division by zero in ImageMagick


Vulnerability identifier: #VU20299

Vulnerability risk: Medium

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

CVE-ID: CVE-2019-14981

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

The vulnerability exists due to division by zero error when processing untrusted input in the MeanShiftImage function. It allows an attacker to cause a denial of service by sending a crafted file. A remote attacker can perform denial of service attack.

Mitigation
Install update from vendor's website.

Vulnerable software versions

ImageMagick: 6.9.0-0 - 6.9.0-10, 6.9.1-0 - 6.9.1-10, 6.9.2-0 - 6.9.2-10, 6.9.3-0 - 6.9.3-10, 6.9.4-0 - 6.9.4-9, 6.9.5-0 - 6.9.5-8, 6.9.6-2 - 6.9.6.6, 6.9.7 - 6.9.7-10, 6.9.8-10, 6.9.9-0, 7.0.0-0, 7.0.1-0 - 7.0.1-10, 7.0.2-0 - 7.0.2-10, 7.0.3-0 - 7.0.3-10, 7.0.4-0 - 7.0.4-10, 7.0.5-0 - 7.0.5-10, 7.0.6-0 - 7.0.6-10, 7.0.7-0 Q16 - 7.0.7-39, 7.0.8-0 - 7.0.8-40


External links
http://github.com/ImageMagick/ImageMagick/commit/a77d8d97f5a7bced0468f0b08798c83fb67427bc
http://github.com/ImageMagick/ImageMagick/issues/1552
http://github.com/ImageMagick/ImageMagick6/commit/b522d2d857d2f75b659936b59b0da9df1682c256


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