Denial of service in ImageMagick



Published: 2023-10-17
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-40211
CWE-ID CWE-369
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ImageMagick
Client/Desktop applications / Multimedia software

Vendor

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Division by zero

EUVDB-ID: #VU82117

Risk: Medium

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

CVE-ID: CVE-2021-40211

CWE-ID: CWE-369 - Divide By Zero

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to a division by zero error within the ReadEnhMetaFile() function in coders/emf.c. A remote attacker can pass specially crafted data to the application and crash it.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ImageMagick: before 7.1.0-5

External links

http://github.com/ImageMagick/ImageMagick/issues/4097


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.



###SIDEBAR###