CVE-2017-9142: Input Validation
In ImageMagick 7.0.5-7 Q16, a crafted file could trigger an assertion failure in the WriteBlob function in MagickCore/blob.c because of missing checks in the ReadOneJNGImage function in coders/png.c.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.7.7.10-5+deb7u13Fixed in 8:6.8.9.9-5+deb8u9Fixed in 8:6.9.7.4+dfsg-9
Event History
Frequently Asked Questions
What is the severity of CVE-2017-9142?
CVE-2017-9142 has a medium severity rating due to the potential for denial of service through assertion failures.
How do I fix CVE-2017-9142?
To fix CVE-2017-9142, upgrade ImageMagick to a version newer than 7.0.5-7 that includes the necessary validation checks.
What components of ImageMagick are affected by CVE-2017-9142?
CVE-2017-9142 affects the WriteBlob function in MagickCore/blob.c and the ReadOneJNGImage function in coders/png.c.
Can CVE-2017-9142 be exploited by malicious files?
Yes, CVE-2017-9142 can be exploited by specially crafted images that trigger assertion failures in the application.
Which versions of Debian are impacted by CVE-2017-9142?
Debian 8.0 and 9.0 are impacted by CVE-2017-9142 when using the vulnerable ImageMagick version.