#VU68077 Heap-based buffer overflow in ImageMagick - CVE-2022-0284


Vulnerability identifier: #VU68077

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-0284

CWE-ID: CWE-122

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 (DoS) attack.

The vulnerability exists due to a boundary error when parsing TIFF files within the GetPixelAlpha() function in pixel-accessor.h. A remote attacker can pass specially crafted TIFF file to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

ImageMagick: before 7.1.0-20, 7.1.0-20


External links
https://bugzilla.redhat.com/show_bug.cgi?id=2045943
https://github.com/ImageMagick/ImageMagick/issues/4729
https://access.redhat.com/security/cve/CVE-2022-0284
https://github.com/ImageMagick/ImageMagick/commit/e50f19fd73c792ebe912df8ab83aa51a243a3da7


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