Input validation error in ImageMagick and Debian Linux - CVE-2017-6498

 

Input validation error in ImageMagick and Debian Linux - CVE-2017-6498

Published: March 6, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU39581
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-6498
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

An issue was discovered in ImageMagick 6.9.7. Incorrect TGA files could trigger assertion failures, thus leading to DoS.


Affected software

ImageMagick
Debian Linux
Ubuntu
imagemagick (Ubuntu package)
libmagick++4 (Ubuntu package)
libmagickcore4-extra (Ubuntu package)
libmagickcore4 (Ubuntu package)
libmagickcore5 (Ubuntu package)
libmagick++5 (Ubuntu package)
libmagickcore5-extra (Ubuntu package)
libmagickcore-6.q16-2 (Ubuntu package)
libmagickcore-6.q16-2-extra (Ubuntu package)
libmagick++-6.q16-5v5 (Ubuntu package)
imagemagick-6.q16 (Ubuntu package)

How to mitigate CVE-2017-6498

Install update from vendor's website.

imagemagick (Ubuntu package) - addressed in versions 8:6.6.9.7-5ubuntu3.9, 8:6.7.7.10-6ubuntu3.6, 8:6.8.9.9-7ubuntu5.6, 8:6.8.9.9-7ubuntu8.5
libmagick++4 (Ubuntu package) - update to 8:6.6.9.7-5ubuntu3.9
libmagickcore4-extra (Ubuntu package) - update to 8:6.6.9.7-5ubuntu3.9
libmagickcore4 (Ubuntu package) - update to 8:6.6.9.7-5ubuntu3.9
libmagickcore5 (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.6
libmagick++5 (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.6
libmagickcore5-extra (Ubuntu package) - update to 8:6.7.7.10-6ubuntu3.6
libmagickcore-6.q16-2 (Ubuntu package) - addressed in versions 8:6.8.9.9-7ubuntu5.6, 8:6.8.9.9-7ubuntu8.5
libmagickcore-6.q16-2-extra (Ubuntu package) - addressed in versions 8:6.8.9.9-7ubuntu5.6, 8:6.8.9.9-7ubuntu8.5
libmagick++-6.q16-5v5 (Ubuntu package) - addressed in versions 8:6.8.9.9-7ubuntu5.6, 8:6.8.9.9-7ubuntu8.5
imagemagick-6.q16 (Ubuntu package) - addressed in versions 8:6.8.9.9-7ubuntu5.6, 8:6.8.9.9-7ubuntu8.5

External References

Related Security Bulletins