Medium severity · published Sep 7, 2017
CVE-2017-14172
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
6.5
CVSS
2.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.2% · higher than 82% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
IM
Imagemagick · Imagemagick
7.0.7-0 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 17.10; 18.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-14172
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-14172
Patch
https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c500561720f7456aac
Exploit
https://github.com/ImageMagick/ImageMagick/issues/715
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html
Third Party Advisory
https://security.gentoo.org/glsa/201711-07
Third Party Advisory
https://usn.ubuntu.com/3681-1/
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
