Vulnerability Description
In coders/ps.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSImage() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted PSD file, which claims a large "extent" field in the header but does not contain sufficient backing data, is provided, the loop over "length" would consume huge CPU resources, since there is no EOF check inside the loop.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | 7.0.7-0 |
| Canonical | Ubuntu Linux | 14.04 |
| Debian | Debian Linux | 8.0 |
Related Weaknesses (CWE)
References
- https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c5005617PatchVendor Advisory
- https://github.com/ImageMagick/ImageMagick/issues/715ExploitIssue TrackingPatch
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlThird Party Advisory
- https://security.gentoo.org/glsa/201711-07Third Party Advisory
- https://usn.ubuntu.com/3681-1/Third Party Advisory
- https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c5005617PatchVendor Advisory
- https://github.com/ImageMagick/ImageMagick/issues/715ExploitIssue TrackingPatch
- https://lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlThird Party Advisory
- https://security.gentoo.org/glsa/201711-07Third Party Advisory
- https://usn.ubuntu.com/3681-1/Third Party Advisory
FAQ
What is CVE-2017-14172?
CVE-2017-14172 is a vulnerability with a CVSS score of 6.5 (MEDIUM). In coders/ps.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSImage() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted PSD file, which claims a large "extent" fie...
How severe is CVE-2017-14172?
CVE-2017-14172 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-14172?
Check the references section above for vendor advisories and patch information. Affected products include: Imagemagick Imagemagick, Canonical Ubuntu Linux, Debian Debian Linux.