NULL pointer dereference in ImageMagick - CVE-2017-13768

 

NULL pointer dereference in ImageMagick - CVE-2017-13768

Published: April 13, 2018


Vulnerability identifier: #VU11808
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-13768
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on  the target system.

The weakness exists in the IdentifyImage function in MagickCore/identify.c due to NULL pointer dereference. A remote attacker can trick the victim into opening a specially crafted image file and cause the service to crash.

Affected software

ImageMagick
Fedora
rubygem-rmagick
ImageMagick

How to mitigate CVE-2017-13768

Install update from vendor's website.

rubygem-rmagick - addressed in versions 2.16.0-7.fc25, 2.16.0-7.fc26, 2.16.0-7.fc27
ImageMagick - addressed in versions 6.9.9.15-1.fc25, 6.9.9.15-1.fc26, 6.9.9.15-1.fc27

External References

Related Security Bulletins