CVE-2017-14172

HIGH

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.

References

https://github.com/ImageMagick/ImageMagick/commit/bdbbb13f1fe9b7e2465502c500561720f7456aac

https://github.com/ImageMagick/ImageMagick/issues/715

https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html

https://lists.debian.org/debian-lts-announce/2020/09/msg00007.html

https://security.gentoo.org/glsa/201711-07

https://usn.ubuntu.com/3681-1/

Details

Source: MITRE

Published: 2017-09-07

Updated: 2020-10-15

Type: CWE-834

Risk Information

CVSS v2.0

Base Score: 7.1

Vector: AV:N/AC:M/Au:N/C:N/I:N/A:C

Impact Score: 6.9

Exploitability Score: 8.6

Severity: HIGH

CVSS v3.0

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 2.8

Severity: MEDIUM

Tenable Plugins

View all (8 total)

IDNameProductFamilySeverity
140297Debian DLA-2366-1 : imagemagick security updateNessusDebian Local Security Checks
high
125093Debian DLA-1785-1 : imagemagick security updateNessusDebian Local Security Checks
high
110516Ubuntu 14.04 LTS / 16.04 LTS / 17.10 / 18.04 LTS : ImageMagick vulnerabilities (USN-3681-1)NessusUbuntu Local Security Checks
high
105455openSUSE Security Update : ImageMagick (openSUSE-2017-1413)NessusSuSE Local Security Checks
high
105409SUSE SLED12 / SLES12 Security Update : ImageMagick (SUSE-SU-2017:3388-1)NessusSuSE Local Security Checks
high
105408SUSE SLES11 Security Update : ImageMagick (SUSE-SU-2017:3378-1)NessusSuSE Local Security Checks
high
104515GLSA-201711-07 : ImageMagick: Multiple vulnerabilitiesNessusGentoo Local Security Checks
high
103756Debian DLA-1131-1 : imagemagick security updateNessusDebian Local Security Checks
high